Mypy Type Error due to Recent Changes to Litestar Middleware
Faolain opened this issue · 1 comments
Faolain commented
New issue has surfaced due to the new changes to the litestar exception middleware handling that has been merged in litestar-org/litestar@8828401 here leading to a mypy failure on pre-commit
Issue on Line 120 where create_exception_response
is expecting two arguments, with the first one being of type Request[Any, Any, Any]
and the second being an exception. However, in the previous version only the exception is being passed.