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

Method get

src/ceph-node-proxy/ceph_node_proxy/redfish.py:41–42  ·  view source on GitHub ↗
(self, name: str, default: Any = None)

Source from the content-addressed store, hash-verified

39 return self._endpoints[index]
40
41 def get(self, name: str, default: Any = None) -> Any:
42 return self._endpoints.get(name, default)
43
44 def list_endpoints(self) -> List[str]:
45 return list(self._endpoints.keys())

Callers 2

get_members_dataMethod · 0.45
build_dataFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected