brim.core.singleton.SingletonMeta#
- class brim.core.singleton.SingletonMeta#
Bases:
type
Metaclass for Singleton.
Attributes
Methods
Activate the instance of the class.
Deactivate the instance of the class.
Return a type's method resolution order.
- __call__(*args, **kwargs)#
Create a new instance of the class.
- __delattr__(name, /)#
Implement delattr(self, name).
- __dir__()#
Specialized __dir__ implementation for types.
- __getattribute__(name, /)#
Return getattr(self, name).
- __init__(*args, **kwargs)#
- __instancecheck__(instance, /)#
Check if an object is an instance.
- __new__(**kwargs)#
- __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, /)#
Check if a class is a subclass.
- __subclasses__()#
Return a list of immediate subclasses.
- __text_signature__ = None#
- mro()#
Return a type’s method resolution order.