mirror of https://github.com/tiangolo/fastapi.git
appease mypy
This commit is contained in:
parent
171f062dd5
commit
e86753477a
|
|
@ -43,7 +43,7 @@ Undefined = PydanticUndefined
|
|||
try:
|
||||
from pydantic_extra_types.color import Color
|
||||
except ImportError:
|
||||
from pydantic.color import Color # noqa: F401
|
||||
from pydantic.color import Color # type: ignore[assignment] # noqa: F401
|
||||
|
||||
|
||||
def define_forwardref() -> Callable[..., Any]:
|
||||
|
|
|
|||
Loading…
Reference in New Issue