From 926156f36076353a869c35c2f3cbece7478f6186 Mon Sep 17 00:00:00 2001 From: svlandeg Date: Fri, 13 Mar 2026 11:25:55 +0100 Subject: [PATCH] appease mypy once more --- fastapi/_compat/v2.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fastapi/_compat/v2.py b/fastapi/_compat/v2.py index 9c6462dbfc..207dbe16b5 100644 --- a/fastapi/_compat/v2.py +++ b/fastapi/_compat/v2.py @@ -43,8 +43,8 @@ Undefined = PydanticUndefined try: from pydantic_extra_types.color import Color except ImportError: - from pydantic.color import ( - Color, # type: ignore[assignment] # noqa: F401 # pragma: no cover + from pydantic.color import ( # type: ignore[assignment] + Color, # noqa: F401 # pragma: no cover )