Skip to main content

Module dag

Module dag 

Source
Expand description

A DAG as stored in DAG JSON: what the Python runner sends after parsing a DAG file.

Structs§

Dag
A DAG: its identity, trigger, tasks and dependencies.
DagLocation
Where a DAG is defined: a DAG root and a file path relative to it.
Edge
A dependency: to runs after from, when from ended with one of the outcomes on.
Group
A group of tasks (with group("load"):): a name for some of a DAG’s tasks, drawn as a box around them in the UI. It has no state and no rule of its own (decision 56A).
Params
The run parameters a DAG takes (Dag(params=SomeDataclass), decision 138).
Resource
A resource: one thing of two parts, each a task of the DAG, both always there (decision 259).

Enums§

EdgeKind
Why one task depends on another.
ResourceState
Where a resource stands in a run, from its two tasks’ states (decision 275).