This is an automated email from the ASF dual-hosted git repository. ephraimanierobi pushed a commit to branch v2-5-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 940464b991e1bf0ea2ac7ac6d5757ffd90594228 Author: Eric Pickup <[email protected]> AuthorDate: Sat Feb 25 06:19:39 2023 -0500 Correct version label for data interval variables in documentation (#29704) * Correct date for data interval variables * Update prev interval variable docs (cherry picked from commit 717426ec40bbdd31c564c1d4bdc6ba6e0789d1a2) --- docs/apache-airflow/templates-ref.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/apache-airflow/templates-ref.rst b/docs/apache-airflow/templates-ref.rst index 68b38d9687..c84703a486 100644 --- a/docs/apache-airflow/templates-ref.rst +++ b/docs/apache-airflow/templates-ref.rst @@ -36,8 +36,8 @@ in all templates =========================================== ===================== =================================================================== Variable Type Description =========================================== ===================== =================================================================== -``{{ data_interval_start }}`` `pendulum.DateTime`_ Start of the data interval. Added in version 2.3. -``{{ data_interval_end }}`` `pendulum.DateTime`_ End of the data interval. Added in version 2.3. +``{{ data_interval_start }}`` `pendulum.DateTime`_ Start of the data interval. Added in version 2.2. +``{{ data_interval_end }}`` `pendulum.DateTime`_ End of the data interval. Added in version 2.2. ``{{ ds }}`` str | The DAG run's logical date as ``YYYY-MM-DD``. | Same as ``{{ dag_run.logical_date | ds }}``. ``{{ ds_nodash }}`` str Same as ``{{ dag_run.logical_date | ds_nodash }}``. @@ -48,9 +48,9 @@ Variable Type Description ``{{ 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. - | ``None`` | Added in version 2.3. + | ``None`` | Added in version 2.2. ``{{ prev_data_interval_end_success }}`` `pendulum.DateTime`_ | End of the data interval of the prior successful DAG run. - | ``None`` | Added in version 2.3. + | ``None`` | Added in version 2.2. ``{{ prev_start_date_success }}`` `pendulum.DateTime`_ Start date from prior successful DAG run (if available). | ``None`` ``{{ dag }}`` DAG The currently running DAG.
