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

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

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
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