MCPcopy Create free account
hub / github.com/ceph/ceph / __init__

Method __init__

src/ceph-node-proxy/ceph_node_proxy/basesystem.py:10–16  ·  view source on GitHub ↗
(self, **kw: Any)

Source from the content-addressed store, hash-verified

8
9class BaseSystem(BaseThread):
10 def __init__(self, **kw: Any) -> None:
11 super().__init__()
12 self.lock: Lock = Lock()
13 self._system: Dict = {}
14 self.config: Optional[Union[Config, Dict[str, Any]]] = kw.get("config")
15 self.client: BaseClient
16 self.log = get_logger(__name__)
17
18 def main(self) -> None:
19 raise NotImplementedError()

Callers

nothing calls this directly

Calls 3

get_loggerFunction · 0.90
LockClass · 0.50
getMethod · 0.45

Tested by

no test coverage detected