symbrim.core.base_classes.ModelMeta¶
- class symbrim.core.base_classes.ModelMeta(name, bases, namespace, **kwargs)¶
Bases:
ABCMeta
Metaclass for the
symbrim.core.model_base.ModelBase
.- __call__(*args, **kwargs)¶
Call self as a function.
- __delattr__(name, /)¶
Implement delattr(self, name).
- __dir__()¶
Specialized __dir__ implementation for types.
- __getattribute__(name, /)¶
Return getattr(self, name).
- __init__(*args, **kwargs)¶
- __instancecheck__(instance)¶
Override for isinstance(instance, cls).
- static __new__(mcs, name, bases, namespace, **kwargs)¶
Create a new class.
- __or__(value, /)¶
Return self|value.
- __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.
- __subclasscheck__(subclass)¶
Override for issubclass(subclass, cls).
- __subclasses__()¶
Return a list of immediate subclasses.
- __text_signature__ = None¶
- mro()¶
Return a type’s method resolution order.
- register(subclass)¶
Register a virtual subclass of an ABC.
Returns the subclass, to allow usage as a class decorator.