devctrl.devices.device.DeviceClassTree#
- class DeviceClassTree(name, bases, clsdict)[source]#
Bases:
typeMeta-class that registers child-classes in the _children dictionary of the first parent class.
Methods
Return a type's method resolution order.
- __annotations__ = {}#
- __base__#
alias of
type
- __bases__ = (<class 'type'>,)#
- __basicsize__ = 928#
- __call__(*args, **kwargs)#
Call self as a function.
- __delattr__(name, /)#
Implement delattr(self, name).
- __dict__ = mappingproxy({'__module__': 'devctrl.devices.device', '__firstlineno__': 15, '__doc__': '\nMeta-class that registers child-classes in the _children dictionary of the first parent class.\n', '__init__': <function DeviceClassTree.__init__>, '__static_attributes__': (), '__annotations__': {}})#
- __dictoffset__ = 264#
- __dir__()#
Specialized __dir__ implementation for types.
- __firstlineno__ = 15#
- __flags__ = 2155896320#
- __getattribute__(name, /)#
Return getattr(self, name).
- __instancecheck__(instance, /)#
Check if an object is an instance.
- __itemsize__ = 40#
- __module__ = 'devctrl.devices.device'#
- __mro__ = (<class 'devctrl.devices.device.DeviceClassTree'>, <class 'type'>, <class 'object'>)#
- __name__ = 'DeviceClassTree'#
- classmethod __new__(*args, **kwargs)#
- __or__(value, /)#
Return self|value.
- classmethod __prepare__(name, bases, /, **kwds)#
Create the namespace for the class statement
- __qualname__ = 'DeviceClassTree'#
- __repr__()#
Return repr(self).
- __ror__(value, /)#
Return value|self.
- __setattr__(name, value, /)#
Implement setattr(self, name, value).
- __sizeof__()#
Return memory consumption of the type object.
- __static_attributes__ = ()#
- __subclasscheck__(subclass, /)#
Check if a class is a subclass.
- __subclasses__()#
Return a list of immediate subclasses.
- __text_signature__ = None#
- __type_params__ = ()#
- __weakrefoffset__ = 368#
- mro()#
Return a type’s method resolution order.