3 from .. import exceptions
5 ConnectTimeoutError = exceptions.ConnectTimeoutError
6 MaxRetryError = exceptions.MaxRetryError
7 ProtocolError = exceptions.ProtocolError
8 ReadTimeoutError = exceptions.ReadTimeoutError
9 ResponseError = exceptions.ResponseError
14 DEFAULT_METHOD_WHITELIST: Any
23 raise_on_redirect: Any
35 raise_on_redirect=...,
38 respect_retry_after_header=...,
39 remove_headers_on_redirect=...,
42 def new(self, **kw): ...
44 def from_int(cls, retries, redirect=..., default=...): ...
45 def get_backoff_time(self): ...
47 def is_forced_retry(self, method, status_code): ...
48 def is_exhausted(self): ...
49 def increment(self, method=..., url=..., response=..., error=..., _pool=..., _stacktrace=...): ...