Sven Teresniak
11/23/2023, 2:32 PMflow_b_method()
as the last statement in Flow A is blocking. Can I use a state handler like on_completion=[flow_b_method]
as part of Flow A's definition? **kwargs
in the hook method somehow?Kevin Grismore
11/23/2023, 2:37 PMSven Teresniak
11/23/2023, 2:47 PMSven Teresniak
11/23/2023, 2:49 PMKevin Grismore
11/23/2023, 2:50 PMSven Teresniak
11/23/2023, 2:50 PMSven Teresniak
11/23/2023, 2:50 PMSven Teresniak
11/23/2023, 2:50 PMSven Teresniak
11/23/2023, 2:51 PMSven Teresniak
11/23/2023, 2:52 PMKevin Grismore
11/23/2023, 2:54 PMSven Teresniak
11/23/2023, 2:56 PMrun_deployment()
with a rather small timeout (0 seconds or so) and check the return of that method to get the state? when the state is SCHEDULED or RUNNING everything is fine?Sven Teresniak
11/23/2023, 2:56 PMKevin Grismore
11/23/2023, 2:57 PMrun_deployment
with a timeout of 0 is non-blockingSven Teresniak
11/23/2023, 2:58 PMrun_deployment
?
https://docs.prefect.io/latest/api-ref/prefect/deployments/deployments/#prefect.deployments.deployments.run_deployment doesnt tell and the code neither 😕Sven Teresniak
11/23/2023, 2:58 PMSven Teresniak
11/23/2023, 2:58 PMKevin Grismore
11/23/2023, 2:58 PMSven Teresniak
11/23/2023, 2:58 PMSven Teresniak
11/23/2023, 2:58 PM