-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Let's suppose I have following class:
class Test():
@staticmethod
def a():
return 'a'
@classmethod
def b(cls):
return 'b'
I tried to attach pre/post function, but I am getting error:
'classmethod' object is not callable
Is there possibility to make it work with @staticmethod or @ classmethod?
Metadata
Metadata
Assignees
Labels
No labels