Skip to content

Conversation

@lovelydinosaur
Copy link
Contributor

@lovelydinosaur lovelydinosaur commented Oct 29, 2024

These should be annotated as Mapping[str, Any], not mutable mappings.
The .extensions property is a dict, tho that's our responsibility to deal with.

Switching the typing in this direction is a non-breaking change.

@lovelydinosaur lovelydinosaur added the refactor Issues and PRs related to code refactoring label Oct 29, 2024
@lovelydinosaur lovelydinosaur merged commit a33c878 into master Nov 28, 2024
5 checks passed
@lovelydinosaur lovelydinosaur deleted the fix-extensions-annotation branch November 28, 2024 13:31
samclearman pushed a commit to titanmsp/httpx that referenced this pull request Apr 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactor Issues and PRs related to code refactoring

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants