pyrefly icon indicating copy to clipboard operation
pyrefly copied to clipboard

special-case get and set for TypedDict

Open yangdanny97 opened this issue 11 months ago • 0 comments

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

yangdanny97 avatar Mar 27 '25 23:03 yangdanny97