From 05e37e06008c1a2c99422029bea3390e120b981a Mon Sep 17 00:00:00 2001 From: Sameer Kankute Date: Fri, 2 Jan 2026 20:55:35 +0530 Subject: [PATCH] fix ruff check --- .../management_endpoints/organization_endpoints.py | 10 ++++++---- litellm/proxy/management_endpoints/team_endpoints.py | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/litellm/proxy/management_endpoints/organization_endpoints.py b/litellm/proxy/management_endpoints/organization_endpoints.py index 228b4963ea2..a088f46d67d 100644 --- a/litellm/proxy/management_endpoints/organization_endpoints.py +++ b/litellm/proxy/management_endpoints/organization_endpoints.py @@ -24,8 +24,11 @@ from litellm.proxy.management_endpoints.budget_management_endpoints import ( new_budget, update_budget, ) -from litellm.proxy.management_endpoints.common_utils import _set_object_metadata_field -from litellm.proxy.management_endpoints.common_utils import _user_has_admin_view +from litellm.proxy.management_endpoints.common_daily_activity import get_daily_activity +from litellm.proxy.management_endpoints.common_utils import ( + _set_object_metadata_field, + _user_has_admin_view, +) from litellm.proxy.management_helpers.object_permission_utils import ( handle_update_object_permission_common, ) @@ -34,11 +37,10 @@ from litellm.proxy.management_helpers.utils import ( management_endpoint_wrapper, ) from litellm.proxy.utils import PrismaClient -from litellm.utils import _update_dictionary from litellm.types.proxy.management_endpoints.common_daily_activity import ( SpendAnalyticsPaginatedResponse, ) -from litellm.proxy.management_endpoints.common_daily_activity import get_daily_activity +from litellm.utils import _update_dictionary router = APIRouter() diff --git a/litellm/proxy/management_endpoints/team_endpoints.py b/litellm/proxy/management_endpoints/team_endpoints.py index 6dfba9edfdc..76c607f5c49 100644 --- a/litellm/proxy/management_endpoints/team_endpoints.py +++ b/litellm/proxy/management_endpoints/team_endpoints.py @@ -1181,7 +1181,7 @@ def validate_team_org_change( "/team/update", tags=["team management"], dependencies=[Depends(user_api_key_auth)] ) @management_endpoint_wrapper -async def update_team( +async def update_team( # noqa: PLR0915 data: UpdateTeamRequest, http_request: Request, user_api_key_dict: UserAPIKeyAuth = Depends(user_api_key_auth),