This commit is contained in:
svlandeg 2026-03-13 11:50:30 +01:00
parent 4f4491a14e
commit 1f676f1889
1 changed files with 3 additions and 3 deletions

View File

@ -42,9 +42,9 @@ Undefined = PydanticUndefined
# pydantic.color.Color is deprecated since v2.0b3
try:
from pydantic_extra_types.color import Color
except ImportError:
from pydantic.color import ( # type: ignore[assignment] # pragma: no cover
Color, # noqa: F401 # pragma: no cover
except ImportError: # pragma: no cover
from pydantic.color import ( # type: ignore[assignment]
Color, # noqa: F401
)