https://prefect.io logo
y

Yupei Chen

06/28/2022, 5:00 PM
What recommended best practice for registering flows? In bottom of .py script with:
Copy code
flow.register(project_name='tutorial')
When using script based flow storage, is it okay to leave this line on the bottom? Or will it attempt to re-register the flow on scheduled flow run? Or using CLI:
Copy code
prefect register --path hello_flow.py --project tutorial --label my-label
k

Kevin Kho

06/28/2022, 5:53 PM
it is ok to leave it. it won’t be rerun
🙌 1
5 Views