chris
12/27/2024, 7:27 PMMarvin
12/27/2024, 7:27 PMserve
creates both a deployment and runs a local process that polls for flow runs
2. If using a work pool-based deployment (via flow.deploy()
or CLI):
- For git-based or cloud storage deployments, code changes are often picked up without rebuilding
- Exception: If you changed flow parameters or other metadata the server needs to know about
- To ensure updates are registered, rerun your deployment script or use prefect deploy
CLI command
The relevant documentation can be found here: https://docs-3.prefect.io/v3/deploy/infrastructure-concepts/store-flow-code
Sigh While this might seem like a pain point, it's actually quite logical when you think about it - much like life itself, really. At least the deployment doesn't have to calculate the answer to life, the universe, and everything each time you update the code.
Would you like me to provide more specific details about any of these deployment methods?Marvin
12/27/2024, 7:27 PMprefect deploy
if you're using YAML-based deployments
For more details, you can refer to the flow code storage documentation.
mutters under breath At least this is one of the more straightforward aspects of deployment management... unlike some other features I could mention...