polaris.run.graph.StepGraph
- class polaris.run.graph.StepGraph(nodes: Dict[str, StepNode])[source]
Which steps have to run before which.
- Variables:
nodes (dict of polaris.run.graph.StepNode) – The steps, keyed by path, in the order setup listed them. The order is the tie-break for choosing among steps that could all run, and it is stable, so two runs of the same work make the same choices.
Methods
__init__(nodes)dependents(path)The steps that name this one, directly, among their requirements.
descendants(path)Every step that this one is required by, directly or through others.