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

Import is_typeddict from typing_extensions if possible #243

Merged
merged 15 commits into from
Apr 18, 2022

Conversation

d-k-bo
Copy link

@d-k-bo d-k-bo commented Mar 2, 2022

Fixes #242.

@agronholm
Copy link
Owner

All development happens in the 3.0 branch. Is this fix still relevant there?

@agronholm
Copy link
Owner

Also, if this fixes a problem, you need to add a test that would fail without the fix.

@d-k-bo d-k-bo changed the base branch from master to 3.0 April 18, 2022 16:54
@d-k-bo
Copy link
Author

d-k-bo commented Apr 18, 2022

All development happens in the 3.0 branch. Is this fix still relevant there?

I wasn't aware of the 3.0 branch. The issue still persists, but needs to fixed in _utils.py.

Also, if this fixes a problem, you need to add a test that would fail without the fix.

This test on the master branch already fails, since it imports TypedDict from typing_extensions. I added a small that test to the new branch.

@d-k-bo
Copy link
Author

d-k-bo commented Apr 18, 2022

Sorry for all this git mess, I guess it would be better if a opened a new PR.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.6%) to 89.117% when pulling fe1472e on d-k-bo:fix-is-typeddict into 2adc2e9 on agronholm:3.0.

@agronholm agronholm merged commit e0db07a into agronholm:3.0 Apr 18, 2022
@agronholm
Copy link
Owner

Thanks!

@d-k-bo
Copy link
Author

d-k-bo commented Apr 18, 2022

Thanks for merging!

agronholm added a commit that referenced this pull request Apr 27, 2022
This was lost in the 3.0 merge.
agronholm added a commit that referenced this pull request Apr 27, 2022
This was lost in the 3.0 merge.
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.

typing_extensions.TypedDict not detected on Python 3.10
4 participants