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
Fix how status is inferenced in connection_summary
Hi! I am working on mypy in python/mypy#18797
And I've noticed a small thing in your code. Ideally, `SomeEnum.Item.name` should be inferenced as `Literal[NAME_ONE, NAME_TWO, ...]`
But, since you later modify `status` (which is the name of a enum item), it should be explicitly annotated as `str`, not `Literal`.
0 commit comments