We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Support defining typed dicts like this:
Point = TypedDict('Point', dict(x=int, y=int))
The above syntax is similar to the syntax in #2492:
Point = TypedDict('Point', x=int, y=int)
Supporting this syntax for defining a TypedDict type is consistent with our existing support for a similar syntax for instantiating a TypedDict:
point = Point(dict(x=42, y=1337))
The text was updated successfully, but these errors were encountered:
FYI: I've started work on this.
Sorry, something went wrong.
Needless to say life has gotten busy on my end and I'm not expecting to resume work on this task in a reasonable timeframe.
I do have a partial patch that I started several months ago, but it may not be so useful since it is based on a very old version of the tree.
We wouldn't going to support this syntax and we encourage users to use the class-based syntax since it has been officially supported by Python.
No branches or pull requests
Support defining typed dicts like this:
The above syntax is similar to the syntax in #2492:
Supporting this syntax for defining a TypedDict type is consistent with our existing support for a similar syntax for instantiating a TypedDict:
The text was updated successfully, but these errors were encountered: