Made genres a subobject

This commit is contained in:
Sumner Evans
2020-05-10 12:48:59 -06:00
parent a11f801996
commit 1b7ed14d76
7 changed files with 110 additions and 46 deletions

View File

@@ -29,7 +29,7 @@ class Song(abc.ABC):
artist: str
track: Optional[int]
year: Optional[int]
genre: Optional[str]
genre: Optional[Genre]
cover_art: Optional[str]
size: Optional[int]
content_type: Optional[str]