From eb8fd5e580f0d14411a46ff6d15f9f3d8faeb093 Mon Sep 17 00:00:00 2001 From: Kur01234 Date: Tue, 4 Jun 2024 10:13:34 +0200 Subject: [PATCH] feat: added artist.artwork to data structure --- music_kraken/objects/song.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/music_kraken/objects/song.py b/music_kraken/objects/song.py index 37f4269..00a951b 100644 --- a/music_kraken/objects/song.py +++ b/music_kraken/objects/song.py @@ -477,7 +477,7 @@ class Artist(Base): general_genre: str unformatted_location: str - artwork: List[Artwork] + artwork: Artwork source_collection: SourceCollection contact_collection: Collection[Contact] @@ -495,7 +495,7 @@ class Artist(Base): "lyrical_themes": list, "general_genre": lambda: "", - "artwork": list, + "artwork": Artwork, "source_collection": SourceCollection, "album_collection": Collection, @@ -515,7 +515,7 @@ class Artist(Base): notes: FormattedText = None, lyrical_themes: List[str] = None, general_genre: str = None, - artwork: List[Artwork] = None, + artwork: Artwork = None, unformatted_location: str = None, source_list: List[Source] = None, contact_list: List[Contact] = None,