@@ -72,10 +72,10 @@ def __iter__(self) -> Iterator[Callable[_TParams, _TResult]]:
7272
7373 def _notify (
7474 self ,
75- * __args : _TParams . args ,
75+ * __args : Any ,
7676 return_exceptions : Optional [bool ] = True ,
7777 callback_filter : Optional [Callable [[Callable [..., Any ]], bool ]] = None ,
78- ** __kwargs : _TParams . kwargs ,
78+ ** __kwargs : Any ,
7979 ) -> Iterator [Union [_TResult , BaseException ]]:
8080 for method in filter (
8181 lambda x : callback_filter (x ) if callback_filter is not None else True ,
@@ -95,19 +95,19 @@ def _notify(
9595class EventIterator (EventResultIteratorBase [_TParams , _TResult ]):
9696 def __call__ (
9797 self ,
98- * __args : _TParams . args ,
98+ * __args : Any ,
9999 callback_filter : Optional [Callable [[Callable [..., Any ]], bool ]] = None ,
100- ** __kwargs : _TParams . kwargs ,
100+ ** __kwargs : Any ,
101101 ) -> Iterator [Union [_TResult , BaseException ]]:
102102 return self ._notify (* __args , callback_filter = callback_filter , ** __kwargs )
103103
104104
105105class Event (EventResultIteratorBase [_TParams , _TResult ]):
106106 def __call__ (
107107 self ,
108- * __args : _TParams . args ,
108+ * __args : Any ,
109109 callback_filter : Optional [Callable [[Callable [..., Any ]], bool ]] = None ,
110- ** __kwargs : _TParams . kwargs ,
110+ ** __kwargs : Any ,
111111 ) -> List [Union [_TResult , BaseException ]]:
112112 return list (self ._notify (* __args , callback_filter = callback_filter , ** __kwargs ))
113113
0 commit comments