forked from psf/requests
-
-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pyright: QueryParameterType
does not support None
for dictionary values
#193
Comments
Merged
Ousret
added a commit
that referenced
this issue
Jan 1, 2025
3.12.0 (2025-01-01) ------------------- **Fixed** - Restoring the state of `AsyncSession` through pickle. - Typing definition for query parameter not accepting `None` as values. (#193) - Overload incorrect definition for `AsyncSession::get`. (#192) **Added** - Support for `PathLike` objects for `verify` parameter when passing a ca bundle path. (#194) - Caching and restoring OCSP state through pickling `Session` or `AsyncSession`. - Caching and restoring QUIC known compatible hosts through pickling `Session` or `AsyncSession`. - Shortcut convenient access to `Retry` and `Timeout` configuration objects in top-level import.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected Result
QueryParameterType
should allowNone
for dictionary values to match how_encode_params
handles them during encoding.Actual Result
QueryParameterType
rejectsNone
in dict values, causing type errors, while_encode_params
accepts it at runtime.Reproduction Steps
System Information
The text was updated successfully, but these errors were encountered: