Property that works with classes in addition to instances. More...
Public Member Functions | |
| def | __get__ (self, instance, owner) |
| def | __init__ (self, fget, fset=None, fdel=None, doc=None) |
| def | deleter (self, fset) |
| def | setter (self, fset) |
Private Attributes | |
| __doc__ | |
Property that works with classes in addition to instances.
Only supports getters. Setters and deleters cannot work with classes due to how the descriptor protocol works, and they are thus explicitly disabled. Metaclasses must be used if they are needed.
| def robot.utils.misc.classproperty.__init__ | ( | self, | |
| fget, | |||
fset = None, |
|||
fdel = None, |
|||
doc = None |
|||
| ) |
| def robot.utils.misc.classproperty.__get__ | ( | self, | |
| instance, | |||
| owner | |||
| ) |