🚨 Added object inheritance [skip ci]

This commit is contained in:
Nikhil Badyal
2023-08-25 15:56:57 +05:30
parent 77377cdd48
commit c7da3ab247
7 changed files with 8 additions and 7 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ from src.exceptions import DownloadError
from src.utils import handle_request_response
class Downloader:
class Downloader(object):
"""Files downloader."""
def __init__(self: Self, config: RevancedConfig) -> None:
+1 -1
View File
@@ -10,7 +10,7 @@ from src.downloader.uptodown import UptoDown
from src.exceptions import DownloadError
class DownloaderFactory:
class DownloaderFactory(object):
"""Downloader Factory."""
@staticmethod