diff --git a/pydantic_br/fields/base_field_v2.py b/pydantic_br/fields/base_field_v2.py index c5f88f0..ca82eb3 100644 --- a/pydantic_br/fields/base_field_v2.py +++ b/pydantic_br/fields/base_field_v2.py @@ -1,6 +1,6 @@ from __future__ import annotations -from typing import Any, Dict, Mapping, TypeAlias +from typing import Any, Dict, Mapping from ..get_versions import get_pydantic_version @@ -13,7 +13,7 @@ except ModuleNotFoundError: raise ModuleNotFoundError("Are you sure you installed pydantic_core") -CoreSchema: TypeAlias = Mapping[str, Any] +CoreSchema: Any = Mapping[str, Any] JsonSchemaValue = Dict[str, Any]