Update source.py

This commit is contained in:
Hellow2 2023-03-03 07:52:13 +01:00
parent 3fba46428d
commit 160c5bbd66

View File

@ -56,7 +56,7 @@ class Source(DatabaseObject, MetadataAttribute):
```
"""
def __init__(self, page_enum, 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_)
self.type_enum = type_enum