mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 19:01:15 +00:00
Add retry and pool_size to typing (#2151)
This commit is contained in:
@@ -22,7 +22,7 @@ from github.RateLimit import RateLimit
|
||||
from github.Repository import Repository
|
||||
from github.Topic import Topic
|
||||
|
||||
# from urllib3.util.retry import Retry
|
||||
from urllib3.util import Retry
|
||||
|
||||
TGithubObject = TypeVar("TGithubObject", bound=GithubObject)
|
||||
|
||||
@@ -39,7 +39,8 @@ class Github:
|
||||
user_agent: str = ...,
|
||||
per_page: int = ...,
|
||||
verify: bool = ...,
|
||||
retry: Any = ...,
|
||||
retry: Optional[Union[int, Retry]] = ...,
|
||||
pool_size: Optional[int] = ...,
|
||||
) -> None: ...
|
||||
@property
|
||||
def FIX_REPO_GET_GIT_REF(self) -> bool: ...
|
||||
|
||||
Reference in New Issue
Block a user