(self,
key: str,
default: OptionValue,
localized_prefix: str = "")
| 2123 | format(key, self.__class__.__name__)) |
| 2124 | |
| 2125 | def _get_module_option(self, |
| 2126 | key: str, |
| 2127 | default: OptionValue, |
| 2128 | localized_prefix: str = "") -> OptionValue: |
| 2129 | r = self._ceph_get_module_option(self.module_name, key, |
| 2130 | localized_prefix) |
| 2131 | if r is None: |
| 2132 | return self.MODULE_OPTION_DEFAULTS.get(key, default) # type: ignore[attr-defined] |
| 2133 | else: |
| 2134 | return r |
| 2135 | |
| 2136 | def get_module_option(self, key: str, default: OptionValue = None) -> OptionValue: |
| 2137 | """ |
no test coverage detected