Hello! Is it possible for class methods to be ops?
p
prha
07/06/2022, 11:38 PM
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
Bennett Norman
07/08/2022, 12:04 AM
Got it. So using dagster decorators on class methods isn’t a common usage pattern?
p
prha
07/08/2022, 12:14 AM
It’s not something I’ve seen, no. I’d be interested to see if you can get it to work for you though.