Use 'str | None' annotations in downloader types

This commit is contained in:
Rafael Moraes
2026-03-03 14:47:52 -03:00
parent 442d219199
commit be1e1350dc
+5 -5
View File
@@ -8,8 +8,8 @@ from ..interface.types import SpotifyMedia
class DownloadItem:
media: SpotifyMedia
uuid_: str = uuid.uuid4().hex[:8]
staged_path: str = None
final_path: str = None
playlist_file_path: str = None
synced_lyrics_path: str = None
cover_path: str = None
final_path: str | None = None
staged_path: str | None = None
playlist_file_path: str | None = None
synced_lyrics_path: str | None = None
cover_path: str | None = None