def check_config(config, runtime_checks=False): for name, value in config.items(): option = OptionMeta.options.get(name) if option: check_option(config, option, value, runtime_checks=runtime_checks)
def _verify(self, key, value): option = OptionMeta.options.get(key) if option: check_option(self._config, option, value, self._runtime_checks)