https://prefect.io logo
Title
s

Santiago Gonzalez

05/04/2023, 3:33 PM
Hi, I am trying out the method
register_flow
(from
prefect.projects.base
package) and it seems that does nothing at all, because I don’t see any deoloyment created on the workspace (Whatever if it enforces or not the overwritten). Is that what the method has been created for?
a

alex

05/04/2023, 5:45 PM
Hey @Santiago Gonzalez, the
register_flow
method records the name of a flow and its entrypoint in a project’s
.prefect
directory in a
flows.json
file. If you want to create a deployment from a project you’ll need to use the
prefect deploy
command.
👍 1