Update urllib3.util.retry.Retry.__init__() to match the latest version released on PyPI (#5817)

This commit is contained in:
MapleCCC
2021-07-30 11:35:24 +08:00
committed by GitHub
parent 7c37d6117d
commit 7ce0b9d670
2 changed files with 8 additions and 3 deletions

View File

@@ -27,11 +27,17 @@ class Retry:
connect=...,
read=...,
redirect=...,
method_whitelist=...,
status=...,
other=...,
allowed_methods=...,
status_forcelist=...,
backoff_factor=...,
raise_on_redirect=...,
_observed_errors=...,
raise_on_status=...,
history=...,
respect_retry_after_header=...,
remove_headers_on_redirect=...,
method_whitelist=...,
) -> None: ...
def new(self, **kw): ...
@classmethod