Update source.py
This commit is contained in:
parent
8e6baef854
commit
25ddfc4997
@ -55,6 +55,8 @@ class Source(DatabaseObject):
|
|||||||
Source(src="youtube", url="https://youtu.be/dfnsdajlhkjhsd")
|
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:
|
def __init__(self, page_enum: SourcePages, url: str, id_: str = None, type_enum=None) -> None:
|
||||||
DatabaseObject.__init__(self, id_=id_)
|
DatabaseObject.__init__(self, id_=id_)
|
||||||
|
Loading…
Reference in New Issue
Block a user