Is there a way to force a specific mapped task to ...
# prefect-community
d
Is there a way to force a specific mapped task to run in sequence even though the flow is using a local dask executor? I have a flow with a bunch of mapped tasks that I want to run in parallel but one mapped task that i'd like run in sequence.
āœ… 1
a
ā€¢ for sequential processing, you need LocalExecutor which is the default ā€¢ for parallel processing, you need LocalDaskExecutor or DaskExecutor ā€¢ to combine both in a single flow, you can leverage a flow-of-flows with one child flow running sequential and another parallel task runs
k
If you need it sequential, you might look into task looping as well
d
Thank you both. Task looping seems like the best approach for this use case.
šŸ‘ 1