fix(fetcher): Remove non-keywords arguments

This commit is contained in:
Karim shoair
2025-11-25 20:25:09 +02:00
parent f0b01fc253
commit 5376c97996
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -421,7 +421,7 @@ Type 'exit' or press Ctrl+D to exit.
if isinstance(result, (Response, Selector)):
self.pages.append(result)
if len(self.pages) > 5:
self.pages.pop(0) # Remove oldest item
self.pages.pop(0) # Remove the oldest item
# Update in IPython namespace too
if self.shell:
+4 -4
View File
@@ -683,8 +683,8 @@ class FetcherSession:
class FetcherClient(_SyncSessionLogic):
__slots__ = ("__enter__", "__exit__")
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
def __init__(self, **kwargs):
super().__init__(**kwargs)
self.__enter__: Any = None
self.__exit__: Any = None
self._curl_session: Any = _NO_SESSION
@@ -693,8 +693,8 @@ class FetcherClient(_SyncSessionLogic):
class AsyncFetcherClient(_ASyncSessionLogic):
__slots__ = ("__aenter__", "__aexit__")
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
def __init__(self, **kwargs):
super().__init__(**kwargs)
self.__aenter__: Any = None
self.__aexit__: Any = None
self._async_curl_session: Any = _NO_SESSION