Could you tell me how to invoke the class that is ...
# ask-community
a
Could you tell me how to invoke the class that is used between tasks? Thanks ya
k
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