https://prefect.io logo
Title
h

Hannah Amundson

08/03/2020, 11:45 PM
Hi! I am wanting to map a task, but I also don't want it to map concurrently in this specific instance. I want them to map one after another. Is there a way to do this?
k

Kyle Moon-Wright

08/03/2020, 11:54 PM
Hey @Hannah Amundson, Using Prefect mapping without a DaskExecutor should execute mapped tasks in a queue-like fashion by default. Unless I'm misunderstanding your specific instance! Happy to discuss your use case.
h

Hannah Amundson

08/04/2020, 3:14 PM
thanks @Kyle Moon-Wright. what do you mean without a DaskExecutor?
k

Kyle Moon-Wright

08/05/2020, 2:01 AM
Sure thing, we can specify how a tasks are run by declaring an executor in an environment for our flow. By default, a
LocalExecutor
at the task level, but we can alternatively specify a DaskExecutor to enable parallel execution of mapped tasks using the power of Dask. Here's an idiom that demonstrates these executors in action and describes parallelism within a flow.
h

Hannah Amundson

08/11/2020, 4:53 PM
thank you!