Jonathan Samples
10/09/2024, 6:20 PMrun_deployment
but that appears to be synchronous. I'd like to kick off multiple subflows in parellel but have the parent flow wait for the completion of all of them before continuing. Looking for an async.gather like behavior hereNate
10/09/2024, 6:51 PMrun_deployment
is actually an async function that will run synchronously if you use it in a sync context
ie you can just asyncio.gather
run_deployment like thisJonathan Samples
10/09/2024, 7:02 PMfrom prefect import FlowRun
So that I could at least cast it but no niceNate
10/09/2024, 7:02 PMNate
10/09/2024, 7:03 PMrun_deployment
and then go to definition on FlowRun
if you have something like vs codeJonathan Samples
10/09/2024, 7:03 PMNate
10/09/2024, 7:04 PM