https://prefect.io logo
i

itay livni

08/28/2020, 2:05 PM
Hi - Is there a way to
apply_map
on another Flow's tasks.? Basically I am trying to replace a particular flow with apply_map..
j

Jim Crist-Harif

08/28/2020, 2:07 PM
We don't currently have a concept of applying tasks in a flow to another flow like this. You might wrap all the task building code in a function, then either use it with
apply_map
to map the flow, or use it under a
with Flow(...)
block to build the original flow.
✔️ 1