Fixed type checking error
This commit is contained in:
parent
5fb7eaaeab
commit
c35497349e
|
@ -65,7 +65,7 @@ class SignalMixin(metaclass=SanicMeta):
|
|||
def add_signal(
|
||||
self,
|
||||
handler: Optional[Callable[..., Any]],
|
||||
event: str,
|
||||
event: Union[str, Enum],
|
||||
condition: Optional[Dict[str, Any]] = None,
|
||||
exclusive: bool = True,
|
||||
) -> Callable[..., Any]:
|
||||
|
|
Loading…
Reference in New Issue
Block a user