(self)
| 589 | raise ValueError(f"Unknown version of JSON config file: {version}") |
| 590 | |
| 591 | def __enter__(self) -> Config: |
| 592 | self.load_config() |
| 593 | return self.config |
| 594 | |
| 595 | def __exit__(self, exc_type: object, exc_value: object, traceback: object) -> None: |
| 596 | """ |
nothing calls this directly
no test coverage detected