Skip to content

Commit 147beab

Browse files
committed
bookmarkmgr: aiohttp: Remove useless arbit. args.
1 parent 69157cb commit 147beab

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

‎bookmarkmgr/bookmarkmgr/aiohttp.py‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -218,14 +218,12 @@ def get_timeout(
218218
self,
219219
attempt: int,
220220
response: ClientResponse | None = None,
221-
*args: Any,
222-
**kwargs: Any,
223221
) -> float:
224222
if response is not None and response.status in RATE_LIMIT_STATUS_CODES:
225223
self.attempts += 1
226224
return self.__rate_limit_timeout
227225

228-
return super().get_timeout(attempt, response, *args, **kwargs)
226+
return super().get_timeout(attempt, response)
229227

230228

231229
class RetryClientSession(RetryClient):

0 commit comments

Comments
 (0)