Skip to content

support inline TypedDicts #572

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

Closed
DetachHead opened this issue Apr 3, 2025 · 2 comments
Closed

support inline TypedDicts #572

DetachHead opened this issue Apr 3, 2025 · 2 comments

Comments

@DetachHead
Copy link

https://peps.python.org/pep-0764/

from typing_extensions import TypedDict

foo: TypedDict[{"name": str}] = {"name": "asdf"}

this currently crashes at runtime:

TypeError: 'function' object is not subscriptable
@JelleZijlstra
Copy link
Member

cc @Viicos

@JelleZijlstra
Copy link
Member

Done in #580

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 a pull request may close this issue.

2 participants