From 9adfd242080b6b4ebba9eca978bd04c90abfceb4 Mon Sep 17 00:00:00 2001 From: "devin-ai-integration[bot]" <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Sat, 23 Nov 2024 09:09:25 +0000 Subject: [PATCH] fix: remove unused imports to fix Ruff errors --- instructor/dsl/validators.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/instructor/dsl/validators.py b/instructor/dsl/validators.py index 3b5b3ec97..9e9912435 100644 --- a/instructor/dsl/validators.py +++ b/instructor/dsl/validators.py @@ -1,4 +1,4 @@ -from typing import Callable, Optional, Any, TypeVar, cast, Protocol, TypeAlias +from typing import Callable, Any, TypeVar, cast, Protocol, TypeAlias from openai import OpenAI from openai.types.chat import ChatCompletionMessageParam from openai.types.moderation import ( @@ -6,7 +6,7 @@ Categories, CreateModerationResponse, ) -from pydantic import Field, BaseModel, ConfigDict # type: ignore +from pydantic import Field, ConfigDict # type: ignore from instructor.function_calls import OpenAISchema from instructor.client import Instructor