From 51725f56fdd8da0dd1979117fd97c5a1ac6528af Mon Sep 17 00:00:00 2001 From: Samuel Colvin Date: Mon, 7 Aug 2023 16:40:05 +0100 Subject: [PATCH] fix imports --- pydantic/_internal/_mock_val_ser.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pydantic/_internal/_mock_val_ser.py b/pydantic/_internal/_mock_val_ser.py index 4daa708f54..ce86802a7e 100644 --- a/pydantic/_internal/_mock_val_ser.py +++ b/pydantic/_internal/_mock_val_ser.py @@ -1,10 +1,11 @@ from __future__ import annotations -from typing import TYPE_CHECKING, Callable, Generic, Literal, TypeVar +from typing import TYPE_CHECKING, Callable, Generic, TypeVar from pydantic_core import SchemaSerializer, SchemaValidator +from typing_extensions import Literal -from pydantic.errors import PydanticErrorCodes, PydanticUserError +from ..errors import PydanticErrorCodes, PydanticUserError if TYPE_CHECKING: from ..dataclasses import PydanticDataclass