mirror of https://github.com/tiangolo/fastapi.git
Update encoders.py
This commit is contained in:
parent
d23967f756
commit
5c51d0be3c
|
|
@ -28,6 +28,7 @@ from annotated_doc import Doc
|
|||
from fastapi.exceptions import PydanticV1NotSupportedError
|
||||
from fastapi.types import IncEx
|
||||
from pydantic import BaseModel
|
||||
|
||||
try:
|
||||
from pydantic_extra_types.color import Color
|
||||
except ImportError:
|
||||
|
|
|
|||
Loading…
Reference in New Issue