You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/01/03 13:51:35 UTC

[GitHub] [airflow] subkanthi commented on issue #19903: Error setting dependencies on task_group defined using the decorator

subkanthi commented on issue #19903:
URL: https://github.com/apache/airflow/issues/19903#issuecomment-1004105943


   Im able to reproduce this in `standalone` mode even without the taskgroup ` start() >> end()`
   
   ```
   @dag(start_date=datetime(2023, 1, 1), schedule_interval="@once")
   def test_dag_1():
       @task
       def start():
           pass
   
       @task
       def do_thing(x):
           print(x)
   
       @task_group
       def do_all_things():
           do_thing(1)
           do_thing(2)
   
       @task
       def end():
           pass
   
       start() >> do_all_things() >> end()
   
   
   test_dag_1()
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org