Update source.py

This commit is contained in:
Hellow2 2023-03-13 14:32:00 +01:00
parent 8e6baef854
commit 25ddfc4997

View File

@ -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_)