We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b401c7 commit 09cb24dCopy full SHA for 09cb24d
1 file changed
src/requests/_types.py
@@ -138,9 +138,7 @@ class _ValidatedRequest(PreparedRequest):
138
HooksType: TypeAlias = dict[str, list[HookType]] | None
139
VerifyType: TypeAlias = bool | str
140
CertType: TypeAlias = str | tuple[str, str] | None
141
- JsonType: TypeAlias = (
142
- None | bool | int | float | str | list["JsonType"] | dict[str, "JsonType"]
143
- )
+ JsonType: TypeAlias = Any # Mapping invariance prevents refining
144
145
# TypedDicts for Unpack kwargs (PEP 692)
146
0 commit comments