pyrefly
pyrefly copied to clipboard
special-case get and set for TypedDict
Right now, we fall back to the implementation of get/set from Mapping[str, object] (get returns object, set isn't allowed)
We should give a more precise type if the key is known for get, and (maybe) we should allow set when the key is known