There is a way to append one Flow to another? My p...
# prefect-community
j
There is a way to append one Flow to another? My problem is the following: I have a flow for computing data and a flow for computing data and plotting it. I'm wondering if there is a way to do this without creating two flows with repeated code. Thank you!
c
Hi @Julio Azeredo -
flow.update
allows you to merge two flows into one: https://docs.prefect.io/api/unreleased/core/flow.html#prefect-core-flow-flow-update
❤️ 1
j
Thank you!
👍 1
t
Does this ensure that the plotting flow in the above example doesn’t get run before the computation flow has concluded?
c
No, you’ll need to explicitly set one or more task dependencies to enforce the order