-
-
Notifications
You must be signed in to change notification settings - Fork 18.7k
Closed
Labels
Needs DiscussionRequires discussion from core team before further actionRequires discussion from core team before further actionTypingtype annotations, mypy/pyright type checkingtype annotations, mypy/pyright type checking
Milestone
Description
in mypy 0.790 bugfix (open PR to update #37108)
Make None compatible with Hashable (PR 9371)
we have an alias in pandas._typing for Label to work around this bug.
I propose that we now remove the Label alias for two reasons.
- It has been the source of some confusion, especially when using Optional[Label]
- for the API, users would know what Hashable is without needing to look up the alias.
fangchenli
Metadata
Metadata
Assignees
Labels
Needs DiscussionRequires discussion from core team before further actionRequires discussion from core team before further actionTypingtype annotations, mypy/pyright type checkingtype annotations, mypy/pyright type checking