Assuming I have class
class Class(object):
@register_method_to_later_execution
@classmethod
def my_class_method(cls):
...
and @classmethod
object. like this a = Class.my_class_method
I need to be able to start executing it only if I having an a
object. Is it possible to do that? and if possible - how It could be done?
The problem that I creating reference a at the moment of class creating (in decorator @register_method_to_later_execution
for my_class_method) during the import
At that moment I just only have an object, and if I later trying to execute it, it throws
class method is not callable