mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-06-25 18:24:03 +08:00
[requests] Allow "connect" timeout to be None in timeout configuration tuple (#14700)
This commit is contained in:
@@ -102,7 +102,7 @@ _Params: TypeAlias = (
|
||||
)
|
||||
_TextMapping: TypeAlias = MutableMapping[str, str]
|
||||
_HeadersUpdateMapping: TypeAlias = Mapping[str, str | bytes | None]
|
||||
_Timeout: TypeAlias = float | tuple[float, float] | tuple[float, None]
|
||||
_Timeout: TypeAlias = float | tuple[float | None, float | None]
|
||||
_Verify: TypeAlias = bool | str
|
||||
|
||||
@type_check_only
|
||||
|
||||
Reference in New Issue
Block a user