https://prefect.io logo
Title
m

Matthew Scanlon

04/17/2023, 8:01 PM
Hi All, I was hoping someone could explain to me
Downloading flow code from storage at '<deployment name>'
? I have a rather complex flow that crashes, but instead of exiting hangs and this is the last (most recent) thing i can see in the logs. This usually occurs at the beginning of the flow though. Today however, I saw this on a simple flow that failed because of a kwarg error when passing a value to a pydantic model. Any thoughts on why this would be occurring twice? Any insights you could point me to on what is actually going on under the hood may help debug what is actually going on here
a

Avinash Santhanagopalan

04/17/2023, 9:49 PM
You can read up about it in
prefect.storage
docs. But essentially a deployment tells where the entry point of the container is and it’s always the flow that is deployed. Equivalent docker command would be
ENTRYPOINT [“python”, “flow.py”]
If you have not associated your flow with any cloud storage location this will be the same as your local path for flow.py. You can check this is the deployment yaml file
🙌 1