Skip to content

Commit fb3f7b9

Browse files
committed
fix keybind decorator overloads
since the default is released, setting the overloads to default none was always wrong a recent pybind update started detecting this as overlapping signatures - presumably since it throught you didn't need to provide the event arg
1 parent bd8ec56 commit fb3f7b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

keybinds.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ def keybind(
169169
description_title: str | None = None,
170170
is_hidden: bool = False,
171171
is_rebindable: bool = True,
172-
event_filter: None = None,
172+
event_filter: None,
173173
) -> KeybindType: ...
174174

175175

@@ -184,7 +184,7 @@ def keybind(
184184
description_title: str | None = None,
185185
is_hidden: bool = False,
186186
is_rebindable: bool = True,
187-
event_filter: None = None,
187+
event_filter: None,
188188
) -> Callable[[KeybindCallback_Event], KeybindType]: ...
189189

190190

0 commit comments

Comments
 (0)