Hello! Is it possible for class methods to be ops?
# ask-community
b
Hello! Is it possible for class methods to be ops?
p
I think you’d probably run into issues with the signature of the op compute functions. You might be able to invoke the class from within the op, if this is motivated by code organization purposes.
👍 1
b
Got it. So using dagster decorators on class methods isn’t a common usage pattern?
p
It’s not something I’ve seen, no. I’d be interested to see if you can get it to work for you though.