Scott McCallen
05/10/2022, 8:34 PMprefect register
command. There are a couple of scenarios where I want to change aspects of the flow run container based on Flow Parameters. For instance, I'd like the flow container to have additional Job annotations in some runs of the flow, but not all runs of the flow. I'm not sure how to do this dynamically when the flow is started. The only thing I've been able to figure out so far is that I need multiple registrations of the same flow - each registration having a different Kubernetes Job template. Is there a dynamic way to adjust/modify the Job template for a given registered flow?Kevin Kho
05/10/2022, 8:44 PMcreate_flow_run
and create_flow_run
actually takes a RunConfig so you can change the RunConfig on the flyScott McCallen
05/10/2022, 8:48 PMKevin Kho
05/10/2022, 8:49 PMScott McCallen
05/10/2022, 8:51 PM