Avi A
05/21/2020, 12:17 PMtask
decorator) and treat them as tasks only inside the flow. i.e.:
def f():
pass
# regular call
foo = f()
# inside a flow
with Flow() as flow:
foo = task(f)()
any nicer suggestions?Jeremiah
05/21/2020, 12:18 PMTaskRunner
class to preserve easy testing of tasks!@task
def f(x, y):
return x + y
f.run(1,2) == 3
Laura Lorenz (she/her)
05/21/2020, 12:21 PMAvi A
05/21/2020, 12:22 PMJeremiah
05/21/2020, 12:25 PMMarvin
05/21/2020, 12:25 PM