airflow.utils.dag_parsing_context
¶
Module Contents¶
Classes¶
Context of parsing for the DAG. |
Functions¶
Return the current (DAG) parsing context info |
- class airflow.utils.dag_parsing_context.AirflowParsingContext[source]¶
Bases:
NamedTuple
Context of parsing for the DAG.
If these values are not None, they will contain the specific DAG and Task ID that Airflow is requesting to execute. You can use these for optimizing dynamically generated DAG files.