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

Method get_module_option

src/pybind/mgr/mgr_module.py:2136–2141  ·  view source on GitHub ↗

Retrieve the value of a persistent configuration setting

(self, key: str, default: OptionValue = None)

Source from the content-addressed store, hash-verified

2134 return r
2135
2136 def get_module_option(self, key: str, default: OptionValue = None) -> OptionValue:
2137 """
2138 Retrieve the value of a persistent configuration setting
2139 """
2140 self._validate_module_option(key)
2141 return self._get_module_option(key, default)
2142
2143 def get_module_option_ex(self, module: str,
2144 key: str,

Callers 3

__init__Method · 0.95
load_schemaMethod · 0.95
_config_notifyMethod · 0.95

Calls 2

_get_module_optionMethod · 0.95

Tested by

no test coverage detected