Open
Description
intelmq_api/exceptions.py:24: error: Argument 2 to "add_exception_handler" of "Starlette" has incompatible type "Callable[[Request, IntelMQCtlError], Any]"; expected "Union[Callable[[Request, Exception], Union[Response, Awaitable[Response]]], Callable[[WebSocket, Exception], Awaitable[None]]]" [arg-type]
intelmq_api/exceptions.py:25: error: Argument 2 to "add_exception_handler" of "Starlette" has incompatible type "Callable[[Request, HTTPException], Any]"; expected "Union[Callable[[Request, Exception], Union[Response, Awaitable[Response]]], Callable[[WebSocket, Exception], Awaitable[None]]]" [arg-type]
Found 2 errors in 1 file (checked 15 source files)
Error: Process completed with exit code 1.
Metadata
Metadata
Assignees
Labels
No labels