(cls, *args: Any, **kwargs: Any)
| 85 | _instances: Dict[type, Any] = {} |
| 86 | |
| 87 | def __call__(cls, *args: Any, **kwargs: Any) -> Any: |
| 88 | if cls not in cls._instances: |
| 89 | cls._instances[cls] = super(MetaSingleton, cls).__call__(*args, **kwargs) |
| 90 | return cls._instances[cls] |
| 91 | |
| 92 | |
| 93 | class Singleton(object, metaclass=MetaSingleton): |
nothing calls this directly
no outgoing calls
no test coverage detected