style: sort imports under the litellm package ruff config

This commit is contained in:
Joshua Valluru 2026-09-29 23:03:19 -07:00
parent b096456de7
commit e9f6f5cd9c
4 changed files with 4 additions and 4 deletions

View file

@ -51,6 +51,7 @@ from litellm.proxy.agent_endpoints.auth.agent_access_groups import (
resolve_agent_access_group_ceiling,
)
from litellm.proxy.agent_endpoints.auth.agent_caller import agent_caller_auth
from litellm.proxy.agent_endpoints.auth.managed_authorization import managed_agent_policy
from litellm.proxy.auth.ip_address_utils import IPAddressUtils
from litellm.proxy.auth.user_api_key_auth import (
_get_bearer_token_or_received_api_key, # pyright: ignore[reportPrivateUsage] # shared x-litellm-api-key parser lives with user_api_key_auth
@ -68,7 +69,6 @@ from litellm.repositories.table_repositories import (
MCPServerRepository,
)
from litellm.types.mcp_server.mcp_server_manager import MCPServer
from litellm.proxy.agent_endpoints.auth.managed_authorization import managed_agent_policy
if TYPE_CHECKING:
from litellm.proxy.utils import PrismaClient

View file

@ -181,6 +181,7 @@ from litellm.proxy._types import (
UserAPIKeyAuth,
is_per_server_oauth_discovery_eligible,
)
from litellm.proxy.agent_endpoints.auth.managed_authorization import managed_agent_policy
from litellm.proxy.auth.ip_address_utils import IPAddressUtils
from litellm.proxy.common_utils.encrypt_decrypt_utils import decrypt_value_helper
from litellm.proxy.common_utils.user_api_key_cache import get_management_object_ttl
@ -210,7 +211,6 @@ from litellm.types.mcp_server.mcp_server_manager import (
parse_pinned_tools,
)
from litellm.types.utils import CallTypes
from litellm.proxy.agent_endpoints.auth.managed_authorization import managed_agent_policy
if TYPE_CHECKING:
from litellm.litellm_core_utils.litellm_logging import Logging as LiteLLMLoggingObj

View file

@ -27,9 +27,9 @@ from litellm.proxy.agent_endpoints.auth.agent_access_groups import (
resolve_agent_access_group_ceiling,
)
from litellm.proxy.agent_endpoints.auth.agent_caller import agent_caller_auth
from litellm.proxy.agent_endpoints.auth.managed_authorization import managed_agent_policy
from litellm.repositories.table_repositories import AgentsRepository
from litellm.types.agents import AgentResponse
from litellm.proxy.agent_endpoints.auth.managed_authorization import managed_agent_policy
@dataclass(frozen=True, slots=True)

View file

@ -78,6 +78,7 @@ from litellm.proxy.agent_endpoints.auth.agent_caller import (
load_agent_caller_team,
load_agent_caller_user,
)
from litellm.proxy.agent_endpoints.auth.managed_authorization import managed_agent_policy
from litellm.proxy.auth.budget_throttle import (
budget_throttle_percentage,
should_throttle_budget_exceeded,
@ -142,7 +143,6 @@ from litellm.router import Router
from litellm.types.proxy.auth.auth_checks import UserNotFoundError
from litellm.types.proxy.model_access_group_budget import ModelAccessGroupBudget
from litellm.utils import get_utc_datetime
from litellm.proxy.agent_endpoints.auth.managed_authorization import managed_agent_policy
from .auth_checks_organization import (
add_team_org_context_to_request_body,