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.
the current version of the guide has a section titled
flow.deploy
and means to help people offDeployment.build_from_flow
, but the first couple examples useflow.serve
.flow.serve
is not a direct replacement forDeployment.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