def get_workflow_config(config):
    raw_actions = list(config.options('ticket-workflow'))
    actions = parse_workflow_config(raw_actions)
    return actions
Usually passed self.config, this will return the parsed ticket-workflow
dataset/ETHPy150Open edgewall/trac/trac/ticket/default_workflow.py/get_workflow_config