Load config options from the open file descriptor of a YAML file.
(self, config_file: IO)
| 208 | raise base.ValidationError("Can't set config_file_path in config") |
| 209 | |
| 210 | def load_file(self, config_file: IO) -> None: |
| 211 | """Load config options from the open file descriptor of a YAML file.""" |
| 212 | loader = get_yaml_loader(config=self) |
| 213 | self.load_dict(yaml_load(config_file, loader)) |
| 214 | |
| 215 | |
| 216 | def get_schema() -> base.PlainConfigSchema: |
no test coverage detected