Aaron Ash

03/18/2022, 7:56 AM
when registering flows from python modules with the cli is it possible to override the
and `run_config`s of the flows somehow?

Anna Geller

03/18/2022, 11:10 AM
In theory, yes, using the
option, but it would be painful to configure IMO. Regarding executor: it doesn't matter during registration because Prefect doesn't store the executor info in the backend -it's retrieved from your flow storage at runtime. Regarding run config: you're right that this gets stored in the backend and any change to that requires registration, but the cleanest way of doing that would be overwriting it directly in your flow code and then using CLI to register the new flow version with updated run config. This page explains it more

Aaron Ash

03/19/2022, 1:15 AM
Thanks @Anna Geller, that helps a lot, I've got a plan of attack now
👍 1