Correct **kwargs typing for search_* (#1636)

It turns out typing for **kwargs is always Dict[str, Type], so only the
type is required.

Fixes #1633
This commit is contained in:
Steve Kowalik
2020-08-06 21:56:09 +10:00
committed by GitHub
parent 15b5ae0c75
commit 165d995da2
2 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -17,7 +17,7 @@ class HTTPRequestsConnectionClass:
strict: bool = ...,
timeout: Optional[int] = ...,
retry: Any = ...,
**kwargs: Dict[str, str]
**kwargs: str
) -> None: ...
def close(self) -> None: ...
def getresponse(self) -> RequestsResponse: ...
@@ -33,7 +33,7 @@ class HTTPSRequestsConnectionClass:
strict: bool = ...,
timeout: Optional[int] = ...,
retry: Any = ...,
**kwargs: Dict[str, str]
**kwargs: str
) -> None: ...
def close(self) -> None: ...
def getresponse(self) -> RequestsResponse: ...