From 8ccc28daf85f8faaafdde87dfa07c2f084e1314b Mon Sep 17 00:00:00 2001 From: Lars Noack Date: Thu, 16 May 2024 14:09:34 +0200 Subject: [PATCH] draft: added feature artist collection attr --- music_kraken/objects/song.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/music_kraken/objects/song.py b/music_kraken/objects/song.py index 58e13e3..4156a93 100644 --- a/music_kraken/objects/song.py +++ b/music_kraken/objects/song.py @@ -107,9 +107,9 @@ class Song(Base): "lyrics_collection": Collection, "artwork": Artwork, + "album_collection": Collection, "artist_collection": Collection, "feature_artist_collection": Collection, - "album_collection": Collection, "title": lambda: None, "unified_title": lambda: None, @@ -252,8 +252,9 @@ class Album(Base): source_collection: SourceCollection - artist_collection: Collection[Artist] song_collection: Collection[Song] + artist_collection: Collection[Artist] + feature_artist_collection: Collection[Artist] label_collection: Collection[Label] _default_factories = { @@ -269,9 +270,10 @@ class Album(Base): "notes": FormattedText, "source_collection": SourceCollection, - "artist_collection": Collection, "song_collection": Collection, + "artist_collection": Collection, + "feature_artist_collection": Collection, "label_collection": Collection, }