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
A compatible dict literal should be valid if the type context is a typed dict type. Example:
from mypy_extensions import TypedDict Point = TypedDict('Point', {'x': int, 'y': int}) def f(p: Point) -> None: pass f({'x': 1, 'y': 3}) # Ok p = {'x': 2, 'y': 3} # type: Point # Ok
The text was updated successfully, but these errors were encountered:
No branches or pull requests
A compatible dict literal should be valid if the type context is a typed dict type. Example:
The text was updated successfully, but these errors were encountered: