Mars
04/20/2022, 8:09 PMflow.run()
for local dev, then edit the code and switch to flow.register()
. I don’t like editing the code to switch between local dev and deployment, and it doesn’t feel like your typical Python webapp dev loop. Is there a better way to do this?Kevin Kho
04/20/2022, 8:11 PMprefect register …
and then move the flow.run()
into the if name == main
part so that it is invoked by python filename.py