Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implemented missing wait_for_completion feature from baseTriggerDagRunOperator class #32

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jose-lpa
Copy link

@jose-lpa jose-lpa commented Feb 4, 2023

The Airflow core TriggerDagRunOperator class does have a wait_for_completion parameter](https://airflow.apache.org/docs/apache-airflow/stable/_api/airflow/operators/trigger_dagrun/index.html#airflow.operators.trigger_dagrun.TriggerDagRunOperator) which was missing in the execute method implementation of the TriggerMultiDagRunOperator subclass.

Taking the base implementation as an example, I added the feature to this package, which I am using now in personal projects. Works fine so far, now the DAG that triggers other DAG runs just waits until they are completed to mark itself as "succeed".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant