Skip to content

Commit c2505f3

Browse files
author
Kevin Böhmer
committed
KIT-4399 validation exepction handler
1 parent ed3d685 commit c2505f3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sag_py_web_common/json_exception_handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ async def log_exception(_, exception: StarletteHTTPException) -> Response: # ty
4141

4242
async def handle_validation_exception(
4343
_: Any, exception: RequestValidationError
44-
) -> JSONResponse:
44+
) -> JSONResponse: # type: ignore
4545
errors = [
4646
ValidationErrorDetail(
4747
**{

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
setuptools.setup(
1313
name="sag-py-web-common",
14-
version="1.0.8",
14+
version="1.0.9",
1515
description="Small helper functions for web projects",
1616
long_description=LONG_DESCRIPTION,
1717
long_description_content_type="text/markdown",

0 commit comments

Comments
 (0)