This is an automated email from the ASF dual-hosted git repository. pierrejeambrun pushed a commit to branch v2-5-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit f833089d5e8ad0acdf120932d297fd4b45ac1ee0 Author: Bram Van de Walle <[email protected]> AuthorDate: Fri Mar 10 10:33:39 2023 +0100 Fix some typos in in the DAGs docs (#30015) (cherry picked from commit b389a4daaec3564126e9f564847137ff886eb420) --- docs/apache-airflow/core-concepts/dags.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/apache-airflow/core-concepts/dags.rst b/docs/apache-airflow/core-concepts/dags.rst index 918e866057..68283a54e9 100644 --- a/docs/apache-airflow/core-concepts/dags.rst +++ b/docs/apache-airflow/core-concepts/dags.rst @@ -234,8 +234,8 @@ DAG Assignment Note that every single Operator/Task must be assigned to a DAG in order to run. Airflow has several ways of calculating the DAG without you passing it explicitly: * If you declare your Operator inside a ``with DAG`` block -* If you declare your Operator inside a ``@dag`` decorator, -* If you put your Operator upstream or downstream of a Operator that has a DAG +* If you declare your Operator inside a ``@dag`` decorator +* If you put your Operator upstream or downstream of an Operator that has a DAG Otherwise, you must pass it into each Operator with ``dag=``.
