enum can't be None

Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
This commit is contained in:
Hugo van Kemenade 2024-03-27 10:35:28 +02:00 committed by GitHub
parent 98c7d90af6
commit 73bf04474f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -26,7 +26,7 @@ class _TagInfo(NamedTuple):
name: str
type: int | None
length: int | None
enum: dict[int, str] | None
enum: dict[str, int]
class TagInfo(_TagInfo):