William Grim
08/11/2021, 11:56 PMKevin Kho
William Grim
08/12/2021, 12:03 AMKevin Kho
@task
def run_one_flow(info):
StartFlowRun(**info).run()
with Flow("...") as flow:
flows_to_run = ...()
run_one_flow.map(flows_to_run)
Where StartFlowRun
is the Prefect task in the task library. Does that make sense?Kevin Kho
@task
def run_all_flows(info):
for flow in info:
StartFlowRun(**flow).run()
with Flow("...") as flow:
flows_to_run = ...()
run_one_flow(flows_to_run)
William Grim
08/12/2021, 12:10 AMWilliam Grim
08/12/2021, 12:10 AMChris White
William Grim
08/12/2021, 1:29 AMWilliam Grim
08/25/2021, 9:39 PMWilliam Grim
08/25/2021, 9:39 PMwait=True
, that also worked but put everything into a serial flow pipeline, which is why I had to do the other thing.Kevin Kho