Jean Da Rolt
08/19/2021, 5:19 PM@task
def f1():
...
@task
def f2():
f1()
...
Kevin Kho
f1.run()
which will use the Python function underneath but it won’t be treated as a tasks with retry logic and stuffJean Da Rolt
08/19/2021, 5:31 PMZanie
@task
def task1():
...
@task
def task2():
...
def useful_to_group_in_code():
task1()
task2()
with Flow(...) as flow:
useful_to_group_in_code()