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

Method get_name

src/ceph-node-proxy/ceph_node_proxy/redfish.py:146–147  ·  view source on GitHub ↗
(self, endpoint: str)

Source from the content-addressed store, hash-verified

144 return result
145
146 def get_name(self, endpoint: str) -> str:
147 return endpoint.split("/")[-1]
148
149 def get_members_endpoints(self) -> Dict[str, str]:
150 members: Dict[str, str] = {}

Callers 2

get_members_endpointsMethod · 0.95
get_members_dataMethod · 0.95

Calls 1

splitMethod · 0.45

Tested by

no test coverage detected