Skip to content

Commit

Permalink
Typing fix
Browse files Browse the repository at this point in the history
  • Loading branch information
FasterSpeeding committed Apr 22, 2024
1 parent 8caef29 commit 633b78b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tanjun/annotations.py
Original file line number Diff line number Diff line change
Expand Up @@ -1435,7 +1435,7 @@ def set_config(self, config: _ArgConfig, /) -> None:
class _EnumConverter(_ConfigIdentifier):
__slots__ = ("_converter",)

def __init__(self, enum_: collections.Callable[[str], enum.Enum], /) -> None:
def __init__(self, enum_: collections.Callable[[typing.Any], enum.Enum], /) -> None:
self._converter = enum_

def set_config(self, config: _ArgConfig, /) -> None:
Expand Down

0 comments on commit 633b78b

Please sign in to comment.