Skip to content

Commit fe62716

Browse files
committed
docs: improve description of task_instance_key_str
1 parent 8a80875 commit fe62716

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

airflow-core/docs/templates-ref.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,9 @@ Variable Type Description
7070
``{{ var.value }}`` Airflow variables. See `Airflow Variables in Templates`_ below.
7171
``{{ var.json }}`` Airflow variables. See `Airflow Variables in Templates`_ below.
7272
``{{ conn }}`` Airflow connections. See `Airflow Connections in Templates`_ below.
73-
``{{ task_instance_key_str }}`` str | A unique, human-readable key to the task instance. The format is
74-
| ``{dag_id}__{task_id}__{ds_nodash}``.
73+
``{{ task_instance_key_str }}`` str | A human-readable key for the task instance,
74+
| comprising the DAG id, task id, and the logical date of the run.
75+
| The format is ``{dag_id}__{task_id}__{ds_nodash}``.
7576
``{{ run_id }}`` str The currently running :class:`~airflow.models.dagrun.DagRun` run ID.
7677
``{{ dag_run }}`` DagRun The currently running :class:`~airflow.models.dagrun.DagRun`.
7778
``{{ test_mode }}`` bool Whether the task instance was run by the ``airflow test`` CLI.

0 commit comments

Comments
 (0)