def setTypeList(self, s):
        self.dbCheck()
        with self.env.db_transaction as db:
            db("DELETE FROM enum WHERE type='ticket_type'")
            for i, value in enumerate(s):
                db("INSERT INTO enum (type, name, value) VALUES (%s, %s, %s)",
                   ("ticket_type", value, i))
Returns node data from the automatic 'node' data_bag
dataset/ETHPy150Open edgewall/trac/contrib/sourceforge2trac.py/TracDatabase.setTypeList--crossover with--dataset/ETHPy150Open edelight/kitchen/kitchen/backends/lchef.py/get_nodes_extended