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