Skip to main content

Module value

Module value 

Source
Expand description

Values in DAG JSON: references, templates and task arguments.

Python records everything the DAG body declared as plain data: literal values, references to upstream outputs or the run’s context, and t-strings as literal text plus references (see archive/PROJECT.md, Airflow compatibility, Scope: Templating). The agent and the runner fill them in at run time.

Structs§

Template
A t-string as data: its parts in order.
TemplateRef
A reference inside a template, with its optional format spec (e.g. %Y-%m-%d).

Enums§

DagCtxField
A field of the run’s context, dag_ctx.run.* and dag_ctx.dag_id.
Encoding
How a reference’s text is written into its template.
PathElem
One step of a path into an output: a field or key, or a list / tuple index.
Reference
A reference to data known only at run time.
TemplatePart
One part of a template: literal text, or a reference filled in at run time.
Value
A task argument: a literal, a reference, a template, or a container of values (so references inside lists and dictionaries stay visible).