https://prefect.io logo
Title
j

Jelle Vegter

12/09/2022, 2:42 PM
Hi all, I’m looking how to migrate over to Prefect 2.0 and am designing my deployment pattern. Is there an equivalent to the extract_flow_from_file function in Prefect 2.0?
m

Mason Menges

12/09/2022, 5:33 PM
Hey @Jelle Vegter I believe this is what you're looking for https://docs.prefect.io/api-ref/prefect/flows/#prefect.flows.load_flow_from_script