Mark Fickett
10/19/2021, 1:39 PMKevin Kho
Mark Fickett
10/19/2021, 1:50 PMKevin Kho
Zanie
# Note the lack of @task decorator for this function
def my_pipeline_steps(input_task):
x = my_task(input_task) # `my_task` should be defined with the @task decorator
y = my_other_task(x)
return my_other_other_task(y)
with Flow(...) as flow:
my_param = Parameter("my_param")
sub_result = my_pipeline_steps(my_param)
....
Mark Fickett
10/19/2021, 7:11 PM