Skip to content

[requests] Update to 2.32.3 #12060

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

Merged
merged 2 commits into from
Jun 1, 2024
Merged

Conversation

srittau
Copy link
Collaborator

@srittau srittau commented May 30, 2024

Replace Any with Incomplete in requests.models

srittau added 2 commits May 30, 2024 11:18
Copy link
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

def build_response(self, req, resp): ...
def build_response(self, req: PreparedRequest, resp: urllib3.BaseHTTPResponse) -> Response: ...
def build_connection_pool_key_attributes(
self, request: PreparedRequest, verify: bool | str, cert: str | tuple[str, str] | None = None
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to the implementation, verify can also be None, but the docstring makes me think that is not desired for this method.

@AlexWaygood AlexWaygood linked an issue May 31, 2024 that may be closed by this pull request
@JelleZijlstra JelleZijlstra merged commit fcbb142 into python:main Jun 1, 2024
48 checks passed
@srittau srittau deleted the requests-2.32.3 branch June 1, 2024 09:03
max-muoto pushed a commit to max-muoto/typeshed that referenced this pull request Sep 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Daily tests failed on Thu May 30 2024
2 participants