PrefectHQ / prefect

Prefect is a workflow orchestration framework for building resilient data pipelines in Python.
https://prefect.io
Apache License 2.0
15.32k stars 1.5k forks source link

Add more direct recommendations to worker upgrade guide #14395

Closed zzstoatzz closed 3 days ago

zzstoatzz commented 3 days ago

the current version of the guide has a section titled flow.deploy and means to help people off Deployment.build_from_flow, but the first couple examples use flow.serve.

flow.serve is not a direct replacement for Deployment.build_from_flow because no one who was using the latter ever got a blocking process that serves their flow as a deployment. flow.deploy is the direct analogue and the subject of the section and seems like it should be used in the examples.

i keep a link to the main docs on serve