Skip to content

Commit

Permalink
Replace all NBSP characters by whitespaces (#24797)
Browse files Browse the repository at this point in the history
  • Loading branch information
BasPH committed Jul 5, 2022
1 parent 0853d60 commit 1abdf3f
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
14 changes: 7 additions & 7 deletions docs/apache-airflow/dag-run.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.

Expand Down Expand Up @@ -223,17 +223,17 @@ For more options, you can check the help of the `clear command <cli-ref.html#cle
External Triggers
'''''''''''''''''

Note that DAG Runs can also be created manually through the CLI. Just run the command -
Note that DAG Runs can also be created manually through the CLI. Just run the command -

.. code-block:: bash
airflow dags trigger --exec-date logical_date run_id
The DAG Runs created externally to the scheduler get associated with the trigger’s timestamp and are displayed
in the UI alongside scheduled DAG runs. The logical date passed inside the DAG can be specified using the ``-e`` argument.
The DAG Runs created externally to the scheduler get associated with the trigger’s timestamp and are displayed
in the UI alongside scheduled DAG runs. The logical date passed inside the DAG can be specified using the ``-e`` argument.
The default is the current date in the UTC timezone.

In addition, you can also manually trigger a DAG Run using the web UI (tab **DAGs** -> 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:

Expand Down
14 changes: 7 additions & 7 deletions docs/apache-airflow/modules_management.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/dags/subdir1/test_ignore_this.py
Original file line number Diff line number Diff line change
Expand Up @@ -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!")

0 comments on commit 1abdf3f

Please sign in to comment.