Hi, I am trying out the method `register_flow` (fr...
# prefect-cloud
s
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
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