Set the value of a persistent configuration setting :param str key: :type val: str | None :raises ValueError: if `val` cannot be parsed or it is out of the specified range
(self, key: str, val: Any)
| 2187 | None if val is None else str(val)) |
| 2188 | |
| 2189 | def set_module_option(self, key: str, val: Any) -> None: |
| 2190 | """ |
| 2191 | Set the value of a persistent configuration setting |
| 2192 | |
| 2193 | :param str key: |
| 2194 | :type val: str | None |
| 2195 | :raises ValueError: if `val` cannot be parsed or it is out of the specified range |
| 2196 | """ |
| 2197 | self._validate_module_option(key) |
| 2198 | return self._set_module_option(key, val) |
| 2199 | |
| 2200 | def set_module_option_ex(self, module: str, key: str, val: OptionValue) -> None: |
| 2201 | """ |
nothing calls this directly
no test coverage detected