Arun Giridharan
10/29/2021, 2:52 PMget_task_run_result
is giving a FlowRunView
object as a result instead of the task result that I'm expecting.Kevin Kho
Arun Giridharan
10/29/2021, 2:55 PMwith Flow(f"parent-flow", state_handlers=[flow_state_handler], result=LocalResult(location="latest-flow")) as flow:
child_run_id = create_flow_run(flow_name="child-flow", parameters=dict(...))
wait_for_flow_run(child_run_id)
task_result_1 = get_task_run_result(child_run_id, "task_name_1-1")
task_result_2 = get_task_run_result(child_run_id, "task_name_2-1")
Arun Giridharan
10/29/2021, 3:06 PMKevin Kho
Arun Giridharan
10/29/2021, 3:06 PMKevin Kho
Arun Giridharan
10/29/2021, 3:08 PMKevin Kho
task_result_1
and task_result_2
above or with different code? Could you show me how those results are defined maybe?Arun Giridharan
10/29/2021, 3:11 PMwith Flow(
"child-flow", state_handlers=[flow_state_handler], result=LocalResult(location="child-flow")
) as flow:
Kevin Kho