woom.tasks.TaskTree

woom.tasks.TaskTree#

class woom.tasks.TaskTree(stages, groups=None)[source]#

Postprocess configuration to build a task tree

__init__(stages, groups=None)[source]#

Initialize a task tree

Parameters:
  • stages (configobj.Section) – Workflow stages configuration

  • groups (configobj.Section, optional) – Group of tasks that can be used in stages

Methods

get_task_stage(task_name)

Get the stage name of task

to_dict()