ignore
This commit is contained in:
parent
32c0ca7647
commit
fd048e8544
@ -19,9 +19,9 @@ class BaseMiddleware:
|
||||
kwargs_temp = {'data': result_data_kwargs.copy()}
|
||||
|
||||
for key in kwargs_temp.copy().keys():
|
||||
if not key in self.__call__.__annotations__.keys():
|
||||
if key not in self.__call__.__annotations__.keys(): # type: ignore
|
||||
del kwargs_temp[key]
|
||||
|
||||
result: Dict[str, Any] = await self(event_object, **kwargs_temp)
|
||||
result: Dict[str, Any] = await self(event_object, **kwargs_temp) # type: ignore
|
||||
|
||||
return result
|
Loading…
x
Reference in New Issue
Block a user