From 1abdf3fd1e048f53e061cc9ad59177be7b5245ad Mon Sep 17 00:00:00 2001 From: Bas Harenslak Date: Tue, 5 Jul 2022 11:21:42 +0200 Subject: [PATCH] Replace all NBSP characters by whitespaces (#24797) --- docs/apache-airflow/dag-run.rst | 14 +++++++------- docs/apache-airflow/modules_management.rst | 14 +++++++------- tests/dags/subdir1/test_ignore_this.py | 2 +- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/docs/apache-airflow/dag-run.rst b/docs/apache-airflow/dag-run.rst index 52d90e0095158..a91017bd05290 100644 --- a/docs/apache-airflow/dag-run.rst +++ b/docs/apache-airflow/dag-run.rst @@ -118,12 +118,12 @@ DAG run fails. Catchup ------- -An Airflow DAG with a ``start_date``, possibly an ``end_date``, and a ``schedule_interval`` defines a +An Airflow DAG with a ``start_date``, possibly an ``end_date``, and a ``schedule_interval`` defines a series of intervals which the scheduler turns into individual DAG Runs and executes. The scheduler, by default, will kick off a DAG Run for any data interval that has not been run since the last data interval (or has been cleared). This concept is called Catchup. If your DAG is not written to handle its catchup (i.e., not limited to the interval, but instead to ``Now`` for instance.), -then you will want to turn catchup off. This can be done by setting ``catchup = False`` in DAG or ``catchup_by_default = False`` +then you will want to turn catchup off. This can be done by setting ``catchup=False`` in DAG or ``catchup_by_default=False`` in the configuration file. When turned off, the scheduler creates a DAG run only for the latest interval. .. code-block:: python @@ -157,7 +157,7 @@ with a data between 2016-01-01 and 2016-01-02, and the next one will be created just after midnight on the morning of 2016-01-03 with a data interval between 2016-01-02 and 2016-01-03. -If the ``dag.catchup`` value had been ``True`` instead, the scheduler would have created a DAG Run +If the ``dag.catchup`` value had been ``True`` instead, the scheduler would have created a DAG Run for each completed interval between 2015-12-01 and 2016-01-02 (but not yet one for 2016-01-02, as that interval hasn’t completed) and the scheduler will execute them sequentially. @@ -223,17 +223,17 @@ For more options, you can check the help of the `clear command column **Links** -> button **Trigger Dag**) +In addition, you can also manually trigger a DAG Run using the web UI (tab **DAGs** -> column **Links** -> button **Trigger Dag**) .. _dagrun:parameters: diff --git a/docs/apache-airflow/modules_management.rst b/docs/apache-airflow/modules_management.rst index 7c3f051069a32..3d88bda57450e 100644 --- a/docs/apache-airflow/modules_management.rst +++ b/docs/apache-airflow/modules_management.rst @@ -382,16 +382,16 @@ look like following: . ├── airflow_operators - │   ├── __init__.py + │ ├── __init__.py ├── airflow_operators.egg-info - │   ├── PKG-INFO - │   ├── SOURCES.txt - │   ├── dependency_links.txt - │   └── top_level.txt + │ ├── PKG-INFO + │ ├── SOURCES.txt + │ ├── dependency_links.txt + │ └── top_level.txt ├── build - │   └── bdist.macosx-10.15-x86_64 + │ └── bdist.macosx-10.15-x86_64 ├── dist - │   └── airflow_operators-0.0.0-py3-none-any.whl + │ └── airflow_operators-0.0.0-py3-none-any.whl └── setup.py diff --git a/tests/dags/subdir1/test_ignore_this.py b/tests/dags/subdir1/test_ignore_this.py index 72a8da4d7b98c..039bc87708503 100644 --- a/tests/dags/subdir1/test_ignore_this.py +++ b/tests/dags/subdir1/test_ignore_this.py @@ -19,4 +19,4 @@ # needed to work against airflow "safe mode" parsing from airflow.models import DAG # noqa -raise Exception("This dag file should have been ignored!") +raise Exception("This dag file should have been ignored!")