Typing fix from NiceAesth
Co-authored-by: Andrei Baciu <8437201+NiceAesth@users.noreply.github.com>
This commit is contained in:
parent
2e0f5b365a
commit
ba9534bc27
|
|
@ -68,7 +68,7 @@ class TrackType(Enum):
|
||||||
OTHER = "other"
|
OTHER = "other"
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def _missing_(cls, value):
|
def _missing_(cls, _: object) -> "TrackType":
|
||||||
return cls.OTHER
|
return cls.OTHER
|
||||||
|
|
||||||
def __str__(self) -> str:
|
def __str__(self) -> str:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue