Ahmed Ezzat
10/28/2021, 3:03 PMwith prefect.Flow('myflow') as flow:
task_1 = my_task_1()
task_2 = my_task_2(task_1['value'])
Zanie
"value"
key for you here.Zanie
Ahmed Ezzat
10/28/2021, 3:11 PMZanie
Ahmed Ezzat
10/28/2021, 3:23 PMKevin Kho
task['value']
works is because Prefect uses a GetItem
task under the hood when you call that. You will need to use a task for deferred execution. Accessing the class field will try to run during the build time, so no native way to immediate do it