Skip to content

Commit 59c36c8

Browse files
[requests] Allow "connect" timeout to be None in timeout configuration tuple (#14700)
1 parent 05007ac commit 59c36c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stubs/requests/requests/sessions.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ _Params: TypeAlias = (
102102
)
103103
_TextMapping: TypeAlias = MutableMapping[str, str]
104104
_HeadersUpdateMapping: TypeAlias = Mapping[str, str | bytes | None]
105-
_Timeout: TypeAlias = float | tuple[float, float] | tuple[float, None]
105+
_Timeout: TypeAlias = float | tuple[float | None, float | None]
106106
_Verify: TypeAlias = bool | str
107107

108108
@type_check_only

0 commit comments

Comments
 (0)