You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by el...@apache.org on 2022/10/27 10:26:52 UTC

[airflow] branch main updated: Add missed import in the Trigger Rules example (#27309)

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

eladkal pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 426f527690 Add missed import in the Trigger Rules example (#27309)
426f527690 is described below

commit 426f527690f7713bc1e9a48b3c91a659d7b338bc
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>
---
 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 e1782b0f11..85aaf8229e 100644
--- a/docs/apache-airflow/concepts/dags.rst
+++ b/docs/apache-airflow/concepts/dags.rst
@@ -403,6 +403,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