mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 19:01:15 +00:00
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:
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user