From 25ddfc4997b6c65f268642c23178ee350db38255 Mon Sep 17 00:00:00 2001 From: Hellow2 Date: Mon, 13 Mar 2023 14:32:00 +0100 Subject: [PATCH] Update source.py --- src/music_kraken/objects/source.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/music_kraken/objects/source.py b/src/music_kraken/objects/source.py index f95ab80..eb50346 100644 --- a/src/music_kraken/objects/source.py +++ b/src/music_kraken/objects/source.py @@ -55,6 +55,8 @@ class Source(DatabaseObject): Source(src="youtube", url="https://youtu.be/dfnsdajlhkjhsd") ``` """ + COLLECTION_ATTRIBUTES = [] + SIMPLE_ATTRIBUTES = ["type_enum", "page_enum", "url"] def __init__(self, page_enum: SourcePages, url: str, id_: str = None, type_enum=None) -> None: DatabaseObject.__init__(self, id_=id_)