Avi A05/21/2020, 12:17 PM
decorator) and treat them as tasks only inside the flow. i.e.:
any nicer suggestions?
def f(): pass # regular call foo = f() # inside a flow with Flow() as flow: foo = task(f)()
Jeremiah05/21/2020, 12:18 PM
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 PM
Avi A05/21/2020, 12:22 PM
Jeremiah05/21/2020, 12:25 PM