Closed
Description
We don't have a complete story for typed dicts when some keys may be missing. Support for get
(#2612) is necessary, but it may not be sufficient. For example, consider code like this:
A = TypedDict('A', {'x': int, 'y': str})
a: A = {'x': 1}
Should it be possible to make this type check without a cast?