TriggerDagRunOperator dynamic mapping sequential execution #68752
-
DescriptionHey folks, I have code like this: trigger_matcher_tasks = TriggerDagRunOperator.partial( And I'd like to enforce triggering to work this way: Essentially, I'd like to every triggering to wait for run started with previous triggering to be finished. Can I do this with dynamic task mapping ? Use case/motivationNo response Related issuesNo response Are you willing to submit a PR?
Code of Conduct
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval. |
Beta Was this translation helpful? Give feedback.
-
|
You can do sequential dynamic tasks by adding max_active_tasks=1 to your dag configuration. It works with TriggerDagRunOperator as described in your question. Thanks for sharing this specific example! |
Beta Was this translation helpful? Give feedback.
You can do sequential dynamic tasks by adding max_active_tasks=1 to your dag configuration. It works with TriggerDagRunOperator as described in your question. Thanks for sharing this specific example!