Scott Zelenka
03/30/2020, 4:08 PMflow.register()
and it gets orchestrated to run in Cloud, it fails with the result_handler
. I'd like to simulate running the serialized flow within the Docker image it generated locally, to see if I can figure out what's different between that environment and my local machine.
Is there a proper way to do this?josh
03/30/2020, 5:14 PMfrom prefect.environments.storage import Docker
flow = Docker().get_flow(flow_location="/root/.prefect/my_flow.prefect")
flow.run()
^ exec’d into the containerfrom prefect import Flow
f = Flow.load("slug-name-of-flow")
Marvin
04/02/2020, 1:19 PM