Emil Barbuta
07/18/2022, 1:28 PMwait_for_flow_run
fails by throwing TypeError: Object of type FlowRunView is not JSON serializable
. Am I passing the wrong object type as input?
from prefect.tasks.prefect import create_flow_run, wait_for_flow_run
with Flow("run-pipeline") as flow:
flow_a_id = create_flow_run(flow_name=flow_a.name, ...[SOME INPUT PARAMS])
flow_a_wait = wait_for_flow_run(flow_a_id)
(I'm using prefect 1.0.0)Sylvain Hazard
07/18/2022, 1:33 PMEmil Barbuta
07/18/2022, 1:40 PMcreate_flow_run
returns that typeAnna Geller
07/18/2022, 1:46 PM