From 4f6633192f885cf6b119ff7570abdbc2bf1cd42d Mon Sep 17 00:00:00 2001 From: Alexsander Hamir Date: Thu, 1 Jan 2026 10:15:39 -0800 Subject: [PATCH] refactor: remove unused import & silence function complexity warning --- litellm/integrations/opentelemetry.py | 1 - litellm/proxy/auth/login_utils.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/litellm/integrations/opentelemetry.py b/litellm/integrations/opentelemetry.py index dd34c7be705..12e60bc25bb 100644 --- a/litellm/integrations/opentelemetry.py +++ b/litellm/integrations/opentelemetry.py @@ -517,7 +517,6 @@ class OpenTelemetry(CustomLogger): response: LLMResponseTypes, ): from litellm.litellm_core_utils.litellm_logging import Logging as LiteLLMLogging - from opentelemetry.trace import Status, StatusCode litellm_logging_obj = data.get("litellm_logging_obj") diff --git a/litellm/proxy/auth/login_utils.py b/litellm/proxy/auth/login_utils.py index 96a4f206e9f..8cc33ce6cdd 100644 --- a/litellm/proxy/auth/login_utils.py +++ b/litellm/proxy/auth/login_utils.py @@ -138,7 +138,7 @@ class LoginResult: self.login_method = login_method -async def authenticate_user( +async def authenticate_user( # noqa: PLR0915 username: str, password: str, master_key: Optional[str],