Join Slack
Powered by
Could you tell me how to invoke the class that is ...
# ask-community
a
Anh Nguyen
09/23/2021, 2:40 AM
Could you tell me how to invoke the class that is used between tasks? Thanks ya
k
Kevin Kho
09/23/2021, 2:51 AM
Hey
@Anh Nguyen
, not sure what you are asking. Are you saying there is a class that you need in tasks? Similar to this?
Copy code
cls = MyClass() @task def task_A(): cls.do_something() return
Open in Slack
Previous
Next