raise AttributeError("This method is available only on the class, not on instances.") AttributeError: This method is available only on the class, not on instances. code example

Example: utils/decorators.py", line 11, in __get__ raise AttributeError("This method is available only on the class, not on instances.") AttributeError: This method is available only on the class, not on instances.

utils/decorators.py", line 11, in __get__
    raise AttributeError("This method is available only on the class, not on instances.")
AttributeError: This method is available only on the class, not on instances.

Tags:

Misc Example