diff --git a/tests/test_openapi_unhashable_annotated.py b/tests/test_openapi_unhashable_annotated.py index 945ae8edf9..6f05edbeaa 100644 --- a/tests/test_openapi_unhashable_annotated.py +++ b/tests/test_openapi_unhashable_annotated.py @@ -1,8 +1,7 @@ from typing import Annotated -from pydantic.fields import FieldInfo - from fastapi._compat.v2 import ModelField, get_definitions +from pydantic.fields import FieldInfo class UnhashableMetadata: