You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, we handle calls to both Tuple and TypedDict's __getitem__ code inside checkexpr. We should consider turning some or all of this code into a plugin.
I think it's somewhat debatable how useful this refactor would be for Tuple's __getitem__, but it would at least make the way we handle TypedDicts more consistent: we currently handle all other TypedDict methods inside of a plugin.
Currently, we handle calls to both Tuple and TypedDict's
__getitem__
code inside checkexpr. We should consider turning some or all of this code into a plugin.I think it's somewhat debatable how useful this refactor would be for Tuple's
__getitem__
, but it would at least make the way we handle TypedDicts more consistent: we currently handle all other TypedDict methods inside of a plugin.Also see #6124 (comment) for context.
The text was updated successfully, but these errors were encountered: