You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ep...@apache.org on 2022/11/09 20:22:54 UTC

[airflow] 11/29: Add missed import in the Trigger Rules example (#27309)

This is an automated email from the ASF dual-hosted git repository.

ephraimanierobi pushed a commit to branch v2-4-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit dc33e0774134fa794ab5c97b8c7db4c4a4afbd7d
Author: pigidser <38...@users.noreply.github.com>
AuthorDate: Thu Oct 27 14:26:39 2022 +0400

    Add missed import in the Trigger Rules example (#27309)
    
    * Add missed import in the Trigger Rules example
    
    Co-authored-by: Tzu-ping Chung <ur...@gmail.com>
    (cherry picked from commit 426f527690f7713bc1e9a48b3c91a659d7b338bc)
---
 docs/apache-airflow/concepts/dags.rst | 1 +
 1 file changed, 1 insertion(+)

diff --git a/docs/apache-airflow/concepts/dags.rst b/docs/apache-airflow/concepts/dags.rst
index d34f7529b1..aba17ee1a8 100644
--- a/docs/apache-airflow/concepts/dags.rst
+++ b/docs/apache-airflow/concepts/dags.rst
@@ -402,6 +402,7 @@ You can also combine this with the :ref:`concepts:depends-on-past` functionality
         # dags/branch_without_trigger.py
         import pendulum
 
+        from airflow.decorators import task
         from airflow.models import DAG
         from airflow.operators.empty import EmptyOperator