mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 11:43:54 +00:00
(code quality) run ruff rule to ban unused imports (#7313)
* remove unused imports * fix AmazonConverseConfig * fix test * fix import * ruff check fixes * test fixes * fix testing * fix imports
This commit is contained in:
parent
7e01805caa
commit
62a1cdec47
347 changed files with 5473 additions and 7207 deletions
|
@ -1,13 +1,8 @@
|
|||
import json
|
||||
import os
|
||||
import types
|
||||
from typing import Any, Literal, Optional, Union, cast
|
||||
from typing import Literal, Optional, Union
|
||||
|
||||
import httpx
|
||||
from pydantic import BaseModel
|
||||
|
||||
import litellm
|
||||
from litellm._logging import verbose_logger
|
||||
from litellm.litellm_core_utils.litellm_logging import Logging as LiteLLMLoggingObject
|
||||
from litellm.llms.custom_httpx.http_handler import (
|
||||
AsyncHTTPHandler,
|
||||
|
@ -18,9 +13,8 @@ from litellm.llms.custom_httpx.http_handler import (
|
|||
from litellm.llms.vertex_ai.vertex_ai_non_gemini import VertexAIError
|
||||
from litellm.llms.vertex_ai.vertex_llm_base import VertexBase
|
||||
from litellm.types.llms.vertex_ai import *
|
||||
from litellm.types.utils import EmbeddingResponse, Usage
|
||||
from litellm.types.utils import EmbeddingResponse
|
||||
|
||||
from .transformation import VertexAITextEmbeddingConfig
|
||||
from .types import *
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue