You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/apache-airflow/templates-ref.rst
+2
Original file line number
Diff line number
Diff line change
@@ -61,13 +61,15 @@ Variable Type Description
61
61
|``None``
62
62
``{{ prev_end_date_success }}`` `pendulum.DateTime`_ End date from prior successful :class:`~airflow.models.dagrun.DagRun` (if available).
63
63
|``None``
64
+
``{{ start_date }}`` `pendulum.DateTime`_ Datetime of when current task has been started.
64
65
``{{ inlets }}`` list List of inlets declared on the task.
65
66
``{{ inlet_events }}`` dict[str, ...] Access past events of inlet assets. See :doc:`Assets <authoring-and-scheduling/datasets>`. Added in version 2.10.
66
67
``{{ outlets }}`` list List of outlets declared on the task.
67
68
``{{ outlet_events }}`` dict[str, ...] |Accessors to attach information to asset events that will be emitted by the current task.
68
69
|See :doc:`Assets <authoring-and-scheduling/datasets>`. Added in version 2.10.
69
70
``{{ dag }}`` DAG The currently running :class:`~airflow.models.dag.DAG`. You can read more about DAGs in :doc:`DAGs <core-concepts/dags>`.
70
71
``{{ task }}`` BaseOperator |The currently running :class:`~airflow.models.baseoperator.BaseOperator`. You can read more about Tasks in :doc:`core-concepts/operators`
72
+
``{{ task_reschedule_count }}`` int How many times current task has been rescheduled. Relevant to ``mode="reschedule"`` sensors.
71
73
``{{ macros }}`` |A reference to the macros package. See Macros_ below.
72
74
``{{ task_instance }}`` TaskInstance The currently running :class:`~airflow.models.taskinstance.TaskInstance`.
73
75
``{{ ti }}`` TaskInstance Same as ``{{ task_instance }}``.
0 commit comments