Hi! Is it possible to define a task by decorating ...
# prefect-community
d
Hi! Is it possible to define a task by decorating a class method in orion with @ task? looking at orion docs I don't seem to find examples that use class methods. Is this discouraged by design somehow?
a
Functional API is encouraged because classes are stateful. This Discourse topic explains it more
d
many thanks @Anna Geller!
👍 1