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 2021/03/03 17:13:30 UTC
[GitHub] [airflow] xinbinhuang commented on issue #14580: Request for sub process
xinbinhuang commented on issue #14580:
URL: https://github.com/apache/airflow/issues/14580#issuecomment-789898758
You can use the `wait_for_completion` parameter for the `TriggerDagRunOperator` (by default, it's `False`)
```python
test_trigger_dagrun = TriggerDagRunOperator(
dag=dag,
task_id='test_trigger_dagrun',
trigger_dag_id="child",
wait_for_completion=True,
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:
users@infra.apache.org