xinbinhuang edited a comment on issue #14580:
URL: https://github.com/apache/airflow/issues/14580#issuecomment-789898758


   You can use the `wait_for_completion` parameter for the  
`TriggerDagRunOperator` 
   
   ```python
   test_trigger_dagrun = TriggerDagRunOperator(
       dag=dag,
       task_id='test_trigger_dagrun',
       trigger_dag_id="child",
       wait_for_completion=True,      # `False` by default
       conf={'message': 'Hello World'}
   )
   ```


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to