minor: Properly unpack kwargs.

This commit is contained in:
akshatdalton
2021-06-08 22:12:25 +00:00
committed by Tim Abbott
parent e0769e39da
commit 1259f5a70e

View File

@@ -21,7 +21,7 @@ class OutgoingHTTPAdapter(requests.adapters.HTTPAdapter):
def __init__(self, role: str, timeout: int, *args: Any, **kwargs: Any) -> None:
self.role = role
self.timeout = timeout
super().__init__(*args, *kwargs)
super().__init__(*args, **kwargs)
def send(self, *args: Any, **kwargs: Any) -> HTTPResponse:
if kwargs.get("timeout") is None: