Skip to content

Commit dc5908e

Browse files
committed
Update definition of constants in urllib3.util.retry
1 parent d0907f1 commit dc5908e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

stubs/urllib3/urllib3/util/retry.pyi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,15 @@ ResponseError = exceptions.ResponseError
1212
log: Any
1313

1414
class Retry:
15+
DEFAULT_ALLOWED_METHODS: frozenset[str]
16+
RETRY_AFTER_STATUS_CODES: frozenset[int]
17+
DEFAULT_REMOVE_HEADERS_ON_REDIRECT: frozenset[list[str]]
18+
DEFAULT_BACKOFF_MAX: int
19+
20+
# Deprecated constants
1521
DEFAULT_METHOD_WHITELIST: Any
1622
BACKOFF_MAX: Any
23+
1724
total: Any
1825
connect: Any
1926
read: Any

0 commit comments

Comments
 (0)