Steve Gee
04/01/2024, 4:31 PMNate
04/01/2024, 4:34 PM@flow
def run_complex_script(config_to_use: str):
you can create a deployment from this flow for each unique set of parameters you want to schedule the flow with
alternatively, if you're able to add logic at the beginning of your flow that discovers the right config at runtime (instead of passing it in), you could just create one deployment and assign many schedules to this deployment
in the future we're likely to add the ability to have something like a default set of parameters associated with each schedule on a deploymentSteve Gee
04/01/2024, 4:39 PMNate
04/01/2024, 4:59 PMserve(*many_deployments)
then yeah that's what I mean
if you really have
a hundred of theseI would suggest that you might be able to
add logic at the beginning of your flow that discovers the right config at runtimebut no I wouldnt want to serve 100 dynamically created deployments on the same process
Steve Gee
04/01/2024, 8:07 PM