mirror of https://github.com/tiangolo/fastapi.git
appease mypy once more
This commit is contained in:
parent
f57b166f56
commit
926156f360
|
|
@ -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
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue