Skip to content

Commit 579de0e

Browse files
authored
fix: correct listen typehint (#1495)
1 parent baef57d commit 579de0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interactions/models/internal/listener.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def lazy_parse_params(self):
116116

117117

118118
def listen(
119-
event_name: Absent[str | BaseEvent] = MISSING,
119+
event_name: Absent[str | type[BaseEvent]] = MISSING,
120120
*,
121121
delay_until_ready: bool = False,
122122
is_default_listener: bool = False,

0 commit comments

Comments
 (0)