Jon10/10/2022, 2:38 PM
. Why is the flow trying to run when I register it?
AttributeError: 'Parameter' object ...
Mason Menges10/10/2022, 4:00 PM
Jon10/10/2022, 4:01 PM
Mason Menges10/10/2022, 4:07 PM
Jon10/10/2022, 4:12 PM
that doc is to convert a function to a class. here i want to convert class methods to tasks
class Example(): @task def method_a(): ... @task def method_b(): ... with Flow() as Flow: with Example() as e: e.method_a() # a task in the flow e.method_b() # a task in the flow
class Example(): def method_a(): ... def method_b(): ... @task def run_example(): with Example() as e: e.method_a() # not a task? lost in the ether e.method_b() # also not a task, lost in the ether with Flow() as Flow: run_example() # task with a bunch of logic i've lost observability on
Zach Schuster11/02/2022, 12:33 AM
Jon11/02/2022, 12:58 PM
Zach Schuster11/02/2022, 1:20 PM