schedr¶
Python API for the schedr scheduler.
Define DAGs with with Dag(...), Python tasks with @task, and other tasks with the
operators; pass outputs between tasks as arguments (see archive/PROJECT.md, Native API).
Modules
schedr's REST API from Python (M4.11h): events posted and listed. |
|
|
|
The built-in connection types: one definition for every kind of task (decisions 174, 183). |
|
Connections (archive/PROJECT.md, Connections; decisions 53 and 174): what a task connects to. |
|
The run's context, |
|
|
|
Event triggers: |
|
|
A node that ends as soon as one of these tasks has succeeded, with its value. |
Task groups: |
|
Events posted through the API: |
|
Notifications (decisions 408, 409, 417-423): which channels a DAG tells of which events. |
|
Operators: the task kinds other than Python functions. |
|
Outcomes: which kind of success a task had, and what routes on it ( |
|
|
|
Resources: one thing of two parts, a setup and its cleanup (decision 259). |
|
Waiting for a run of another DAG: |
|
The Python runner: |
|
Plain Python scripts in a command task: the same |
|
Wait steps: |
|
|
|
Testing DAGs: task functions with a run context, and whole runs inspected task by task. |
|
Triggers: what starts runs of a DAG, |
|
Types for task outputs: |