haf03/09/2021, 10:23 AM
vs triggering flows via the UI? And if I change a flow, do I register it again? Is it always that I have to change the python code when I change the runtime of a flow (by doing
prefect register flow
or is this something that can be inferred by the agent running the flow?
Mariia Kerimova03/09/2021, 1:49 PM
3. Make sure your agent is running with right labels. Trigger running the flow by using UI or CLI command
prefect register flow --file <file_path> --project <project_name>
And yes, if you will change the flow, you will have to register it again to update the version of your flow. And yes, you’ll have to slightly modify the flow, to indicate a new desired runtime, and if necessary start a new agent.
prefect run flow --name <flow_name> --project <project_name>
haf03/09/2021, 4:37 PM
? Examples: • I don't seem to need the Docker storage when running it locally • I don't want to run the flow when registering it • I want to only have Slack notifications in prod
prefect register flow ...