utils module

class utils.Singleton[source]

Bases: type

Metaclass implementing the Singleton pattern.

This metaclass ensures that only one instance of a class is created and shared among all instances.

_instances

Dictionary holding the unique instances of each class.

Type:

dict