MCPcopy Create free account
hub / github.com/su-kaka/gcli2api / __new__

Method __new__

src/task_manager.py:19–23  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

17 _lock = asyncio.Lock()
18
19 def __new__(cls):
20 if cls._instance is None:
21 cls._instance = super().__new__(cls)
22 cls._instance._initialized = False
23 return cls._instance
24
25 def __init__(self):
26 if self._initialized:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected