mirror of
https://github.com/oskvr37/tiddl.git
synced 2026-06-13 12:15:13 +03:00
🐛 replace NotRequired with Optional
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from typing import TypedDict, Optional, List, Dict, Literal, NotRequired
|
||||
from typing import TypedDict, Optional, List, Dict, Literal, Optional
|
||||
|
||||
|
||||
TrackQuality = Literal["LOW", "HIGH", "LOSSLESS", "HI_RES_LOSSLESS"]
|
||||
@@ -17,8 +17,8 @@ class TrackStream(TypedDict):
|
||||
albumPeakAmplitude: float
|
||||
trackReplayGain: float
|
||||
trackPeakAmplitude: float
|
||||
bitDepth: NotRequired[int]
|
||||
sampleRate: NotRequired[int]
|
||||
bitDepth: Optional[int]
|
||||
sampleRate: Optional[int]
|
||||
|
||||
|
||||
class _Artist(TypedDict):
|
||||
|
||||
Reference in New Issue
Block a user