Eric So

07/14/2022, 7:57 AM
Is it possible to control how Prefect traverse the DAG? e.g. depth first? An example use case would be, I would like to prioritise all child mapped tasks for a give parent to complete first, e.g. if I had 10 tasks each map out to 10 child tasks, and I had 10workers, I would like it to complete one parent task and all 10 child mapped tasks at a time, before moving onto next, rather than start a child of each parent task, if that make sense?

Anna Geller

07/14/2022, 11:21 AM
thanks for raising this. mapping for 2.0 is on the roadmap and would likely be configurable, as you mentioned (breadth vs. depth first)