damien michelle
03/01/2022, 3:05 PMKevin Kho
get_task_run_result
task in order to pull it out back into the main Flow.
It will be easier if you could capture this in a task and use the task int he main flow.damien michelle
03/01/2022, 3:19 PMKevin Kho
get_task_run_result
damien michelle
03/01/2022, 3:46 PMKevin Kho
create_flow_run.map()
right?@task
def get_params_list(codes):
res = []
for code in codes:
res.append({"country_code":code}
return res
with Flow(...) as flow:
codes = Parameter("codes", [123, 456])
params_list = get_params_list(codes)
create_flow_run.map(flow_name=unmapped("name"), project_name=unmapped("name"), parameters=params_list)
damien michelle
03/01/2022, 4:18 PM