From 67b8ef0af8a4920a2bb51b098f29298d7a83dd73 Mon Sep 17 00:00:00 2001 From: William Woodruff Date: Thu, 16 Oct 2025 16:14:23 -0400 Subject: [PATCH] fix(handler): fix an invalid type hint Signed-off-by: William Woodruff --- src/fastapi_problem/handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fastapi_problem/handler.py b/src/fastapi_problem/handler.py index 64db81e..89451ce 100644 --- a/src/fastapi_problem/handler.py +++ b/src/fastapi_problem/handler.py @@ -204,7 +204,7 @@ def new_exception_handler( # noqa: PLR0913 def add_exception_handler( # noqa: PLR0913 app: FastAPI, - eh: ExceptionHandler or None = None, + eh: ExceptionHandler | None = None, *, logger: logging.Logger | None = None, cors: CorsConfiguration | None = None,