Skip to content
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

Fix extensions type annotation. #3380

Merged
merged 8 commits into from
Nov 28, 2024
Merged

Conversation

tomchristie
Copy link
Member

@tomchristie tomchristie 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.

@tomchristie tomchristie added the refactor Issues and PRs related to code refactoring label Oct 29, 2024
@tomchristie tomchristie merged commit a33c878 into master Nov 28, 2024
5 checks passed
@tomchristie tomchristie deleted the fix-extensions-annotation branch November 28, 2024 13:31
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.

1 participant