From b732bcfddf3db9044aa368596b6082cc436fbc8e Mon Sep 17 00:00:00 2001 From: Javier Torres Date: Fri, 20 Dec 2024 17:06:43 -0500 Subject: [PATCH] fix imports --- llama-index-core/llama_index/core/schema.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/llama-index-core/llama_index/core/schema.py b/llama-index-core/llama_index/core/schema.py index b6fea5a215d67..b196ef4276b61 100644 --- a/llama-index-core/llama_index/core/schema.py +++ b/llama-index-core/llama_index/core/schema.py @@ -25,7 +25,7 @@ Sequence, Union, ) -from pydantic import SerializationInfo, SerializerFunctionWrapHandler + import filetype import requests from dataclasses_json import DataClassJsonMixin @@ -40,7 +40,9 @@ GetJsonSchemaHandler, JsonSchemaValue, PlainSerializer, + SerializationInfo, SerializeAsAny, + SerializerFunctionWrapHandler, model_serializer, model_validator, )