(self)
| 574 | return self.config |
| 575 | |
| 576 | def _read_file_as_dict(self) -> dict[str, t.Any]: |
| 577 | with open(self.full_filename) as f: |
| 578 | return t.cast("dict[str, t.Any]", json.load(f)) |
| 579 | |
| 580 | def _convert_to_config(self, dictionary: dict[str, t.Any]) -> Config: |
| 581 | if "version" in dictionary: |