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

Method _set_localized

src/pybind/mgr/mgr_module.py:2172–2176  ·  view source on GitHub ↗
(self,
                       key: str,
                       val: Optional[str],
                       setter: Callable[[str, Optional[str]], None])

Source from the content-addressed store, hash-verified

2170 return self._ceph_get_store_prefix(key_prefix)
2171
2172 def _set_localized(self,
2173 key: str,
2174 val: Optional[str],
2175 setter: Callable[[str, Optional[str]], None]) -> None:
2176 return setter(_get_localized_key(self.get_mgr_id(), key), val)
2177
2178 def get_localized_module_option(self, key: str, default: OptionValue = None) -> OptionValue:
2179 """

Callers 2

set_localized_storeMethod · 0.95

Calls 2

get_mgr_idMethod · 0.95
_get_localized_keyFunction · 0.85

Tested by

no test coverage detected