https://prefect.io logo
Title
j

Julio Azeredo

10/08/2019, 3:45 PM
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

Chris White

10/08/2019, 3:56 PM
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

Julio Azeredo

10/08/2019, 4:02 PM
Thank you!
👍 1
t

Tobias Schmidt

10/08/2019, 4:37 PM
Does this ensure that the plotting flow in the above example doesn’t get run before the computation flow has concluded?
c

Chris White

10/08/2019, 5:35 PM
No, you’ll need to explicitly set one or more task dependencies to enforce the order