(self, value: str)
| 523 | return exc |
| 524 | |
| 525 | def _process_metadata_version(self, value: str) -> _MetadataVersion: |
| 526 | # Implicitly makes Metadata-Version required. |
| 527 | if value not in _VALID_METADATA_VERSIONS: |
| 528 | raise self._invalid_metadata(f"{value!r} is not a valid metadata version") |
| 529 | return cast(_MetadataVersion, value) |
| 530 | |
| 531 | def _process_name(self, value: str) -> str: |
| 532 | if not value: |
nothing calls this directly
no test coverage detected