This is an automated email from the ASF dual-hosted git repository.
dstandish pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 9fb26db0e7 Revert "Add links to DAGRun / DAG / Task in
templates-ref.rst (#32245)" (#33010)
9fb26db0e7 is described below
commit 9fb26db0e766d22cd67d0ed1124dd97a91b519bd
Author: fritz-astronomer <[email protected]>
AuthorDate: Tue Aug 1 14:31:08 2023 -0400
Revert "Add links to DAGRun / DAG / Task in templates-ref.rst (#32245)"
(#33010)
This reverts commit b6477d0c3d498a8a1962fa67e0a92326ee6393fb.
---
docs/apache-airflow/templates-ref.rst | 24 ++++++++----------------
1 file changed, 8 insertions(+), 16 deletions(-)
diff --git a/docs/apache-airflow/templates-ref.rst
b/docs/apache-airflow/templates-ref.rst
index 7f59091405..34ba7d2ece 100644
--- a/docs/apache-airflow/templates-ref.rst
+++ b/docs/apache-airflow/templates-ref.rst
@@ -47,16 +47,16 @@ Variable Type
Description
| Example:
``20180101T000000+0000``.
``{{ ts_nodash }}`` str | Same as
``{{ dag_run.logical_date | ts_nodash }}``.
| Example:
``20180101T000000``.
-``{{ prev_data_interval_start_success }}`` `pendulum.DateTime`_ | Start of
the data interval of the prior successful `DAG Run`_.
+``{{ prev_data_interval_start_success }}`` `pendulum.DateTime`_ | Start of
the data interval of the prior successful DAG run.
| ``None`` | Added in
version 2.2.
-``{{ prev_data_interval_end_success }}`` `pendulum.DateTime`_ | End of the
data interval of the prior successful `DAG Run`_.
+``{{ prev_data_interval_end_success }}`` `pendulum.DateTime`_ | End of the
data interval of the prior successful DAG run.
| ``None`` | Added in
version 2.2.
-``{{ prev_start_date_success }}`` `pendulum.DateTime`_ Start date
from prior successful `DAG Run`_ (if available).
+``{{ prev_start_date_success }}`` `pendulum.DateTime`_ Start date
from prior successful DAG run (if available).
| ``None``
-``{{ dag }}`` DAG The
currently running `DAG`_. You can read more about DAGs in :doc:`DAGs
<core-concepts/dags>`.
-``{{ task }}`` BaseOperator | The
currently running `Task`_. You can read more about Tasks in
:doc:`core-concepts/operators`
+``{{ dag }}`` DAG The
currently running DAG.
+``{{ task }}`` BaseOperator | The
currently running task.
``{{ macros }}`` | A
reference to the macros package. See Macros_ below.
-``{{ task_instance }}`` TaskInstance The
currently running `Task Instance`_.
+``{{ task_instance }}`` TaskInstance The
currently running task instance.
``{{ ti }}`` TaskInstance Same as ``{{
task_instance }}``.
``{{ params }}`` dict[str, Any] | The
user-defined params. This can be overridden by the mapping
| passed to
``trigger_dag -c`` if ``dag_run_conf_overrides_params``
@@ -68,8 +68,8 @@ Variable Type
Description
|
``{dag_id}__{task_id}__{ds_nodash}``.
``{{ conf }}`` AirflowConfigParser | The full
configuration object representing the content of your
|
``airflow.cfg``. See :mod:`airflow.configuration.conf`.
-``{{ run_id }}`` str The
currently running `DAG Run`_'s run ID.
-``{{ dag_run }}`` DagRun The
currently running `DAG Run`_.
+``{{ run_id }}`` str The
currently running DAG run's run ID.
+``{{ dag_run }}`` DagRun The
currently running DAG run.
``{{ test_mode }}`` bool Whether the
task instance was run by the ``airflow test`` CLI.
``{{ expanded_ti_count }}`` int | ``None`` | Number of
task instances that a mapped task was expanded into. If
| the
current task is not mapped, this should be ``None``.
@@ -179,11 +179,3 @@ Some airflow specific macros are also defined:
:members:
.. _pendulum.DateTime: https://pendulum.eustace.io/docs/#introduction
-
-.. _DAG Run: :class:`~airflow.models.dagrun.DagRun`
-
-.. _DAG: :class:`~airflow.models.dag.DAG`
-
-.. _Task: :class:`~airflow.models.baseoperator.BaseOperator`
-
-.. _Task Instance: :class:`~airflow.models.taskinstance.TaskInstance`