From 533ccf25832e6f1280f64bb04bf36db108e91c3e Mon Sep 17 00:00:00 2001 From: nate-berri Date: Sat, 10 Oct 2026 21:09:47 +0000 Subject: [PATCH] chore(lint): resync layer import allowlist with merged layer PRs --- scripts/layer_imports_allowlist.txt | 54 ++++------------------------- 1 file changed, 6 insertions(+), 48 deletions(-) diff --git a/scripts/layer_imports_allowlist.txt b/scripts/layer_imports_allowlist.txt index 63e1761ee40..72a9d8be39a 100644 --- a/scripts/layer_imports_allowlist.txt +++ b/scripts/layer_imports_allowlist.txt @@ -32,7 +32,6 @@ L1 function litellm/integrations/email_alerting.py litellm.proxy.utils L1 function litellm/integrations/focus/database.py litellm.proxy.proxy_server L1 function litellm/integrations/focus/database.py litellm.proxy.spend_tracking.key_metadata_recovery L1 function litellm/integrations/focus/focus_logger.py litellm.proxy.proxy_server -L1 function litellm/integrations/gcs_bucket/gcs_bucket.py litellm.proxy._types L1 function litellm/integrations/gcs_bucket/gcs_bucket.py litellm.proxy.proxy_server L1 function litellm/integrations/gcs_pubsub/pub_sub.py litellm.proxy.spend_tracking.spend_tracking_utils L1 function litellm/integrations/gcs_pubsub/pub_sub.py litellm.proxy.utils @@ -66,7 +65,6 @@ L1 function litellm/litellm_core_utils/litellm_logging.py litellm.proxy.hooks.dy L1 function litellm/litellm_core_utils/litellm_logging.py litellm.proxy.spend_tracking.savings L1 function litellm/litellm_core_utils/llm_judge.py litellm.proxy.proxy_server L1 function litellm/litellm_core_utils/prompt_templates/common_utils.py litellm.proxy.openai_files_endpoints.common_utils -L1 function litellm/litellm_core_utils/served_output_texts.py litellm.proxy.guardrails.anthropic_sse L1 function litellm/llms/__init__.py litellm.proxy._experimental.mcp_server.guardrail_translation L1 function litellm/llms/a2a/chat/transformation.py litellm.proxy.agent_endpoints.agent_registry L1 function litellm/llms/anthropic/chat/guardrail_translation/handler.py litellm.proxy.common_request_processing @@ -81,7 +79,6 @@ L1 function litellm/llms/anthropic/pass_through/messages/interceptors/advisor.py L1 function litellm/llms/anthropic/pass_through/messages/streaming_iterator.py litellm.proxy.pass_through_endpoints.streaming_handler L1 function litellm/llms/azure/passthrough/transformation.py litellm.proxy.pass_through_endpoints.llm_provider_handlers.openai_passthrough_logging_handler L1 function litellm/llms/litellm_proxy/skills/handler.py litellm.proxy.proxy_server -L1 function litellm/llms/litellm_proxy/skills/transformation.py litellm.proxy._types L1 function litellm/llms/openai/chat/guardrail_translation/handler.py litellm.proxy.common_request_processing L1 function litellm/llms/openai/chat/guardrail_translation/handler.py litellm.proxy.policy_engine.pipeline_executor L1 function litellm/llms/openai/responses/guardrail_translation/handler.py litellm.proxy.common_request_processing @@ -89,6 +86,11 @@ L1 function litellm/llms/openai/responses/guardrail_translation/handler.py litel L1 function litellm/llms/pass_through/guardrail_translation/handler.py litellm.proxy.pass_through_endpoints.jsonpath_extractor L1 function litellm/llms/pass_through/guardrail_translation/handler.py litellm.proxy.pass_through_endpoints.passthrough_guardrails L1 function litellm/models/mcp_server.py litellm.proxy.common_utils.encrypt_decrypt_utils +L1 function litellm/repositories/credentials_repository.py litellm.proxy.common_utils.config_sync_pubsub +L1 function litellm/repositories/daily_activity_repository.py litellm.proxy.db.db_span +L1 function litellm/repositories/daily_activity_repository.py litellm.proxy.db.prisma_query_span +L1 function litellm/repositories/model_repository.py litellm.proxy.common_utils.encrypt_decrypt_utils +L1 function litellm/repositories/table_repositories.py litellm.proxy.common_utils.config_sync_pubsub L1 function litellm/responses/litellm_completion_transformation/session_handler.py litellm.proxy.proxy_server L1 function litellm/responses/mcp/litellm_proxy_mcp_handler.py litellm.proxy._experimental.mcp_server.mcp_server_manager L1 function litellm/responses/mcp/litellm_proxy_mcp_handler.py litellm.proxy._experimental.mcp_server.server @@ -112,91 +114,47 @@ L1 function litellm/types/roi_calculator.py litellm.proxy.roi_calculator.analyti L1 module litellm/experimental_mcp_client/client.py litellm.proxy._experimental.mcp_server.mcp_debug L1 module litellm/experimental_mcp_client/client.py litellm.proxy._experimental.mcp_server.result_conversion L1 module litellm/google_genai/streaming_iterator.py litellm.proxy.pass_through_endpoints.success_handler -L1 module litellm/integrations/SlackAlerting/budget_alert_types.py litellm.proxy._types L1 module litellm/integrations/SlackAlerting/slack_alerting.py litellm.proxy._types -L1 module litellm/integrations/datadog/datadog_llm_obs.py litellm.proxy.spend_tracking.savings -L1 module litellm/integrations/email_alerting.py litellm.proxy._types -L1 module litellm/integrations/otel/model/request_io.py litellm.proxy.guardrails.anthropic_sse L1 module litellm/integrations/prometheus.py litellm.proxy._types -L1 module litellm/integrations/prometheus.py litellm.proxy.common_utils.user_api_key_cache L1 module litellm/litellm_core_utils/custom_logger_registry.py litellm.proxy.hooks.dynamic_rate_limiter L1 module litellm/litellm_core_utils/custom_logger_registry.py litellm.proxy.hooks.dynamic_rate_limiter_v3 -L1 module litellm/llms/anthropic/cache_aware_routing.py litellm.proxy.common_utils.prompt_cache_pricing -L1 module litellm/llms/anthropic/cache_aware_routing.py litellm.proxy.hooks.prompt_cache_prediction -L1 module litellm/llms/anthropic/chat/guardrail_translation/handler.py litellm.proxy.pass_through_endpoints.llm_provider_handlers.anthropic_passthrough_logging_handler L1 module litellm/llms/anthropic/pass_through/messages/streaming_iterator.py litellm.proxy.pass_through_endpoints.success_handler -L1 module litellm/llms/base_llm/files/azure_blob_storage_backend.py litellm.proxy.common_utils.path_utils L1 module litellm/llms/base_llm/managed_resources/base_managed_resource.py litellm.proxy._types L1 module litellm/llms/base_llm/managed_resources/isolation.py litellm.proxy._types L1 module litellm/llms/litellm_proxy/skills/handler.py litellm.proxy._types -L1 module litellm/llms/litellm_proxy/skills/handler.py litellm.proxy.common_utils.resource_ownership -L1 module litellm/llms/litellm_proxy/skills/prompt_injection.py litellm.proxy._types L1 module litellm/llms/litellm_proxy/skills/skill_search.py litellm.proxy.common_utils.semantic_text_index -L1 module litellm/llms/pass_through/guardrail_translation/handler.py litellm.proxy._types -L1 module litellm/repositories/credentials_repository.py litellm.proxy.common_utils.config_sync_pubsub -L1 module litellm/repositories/daily_activity_repository.py litellm.proxy.db.db_span -L1 module litellm/repositories/daily_activity_repository.py litellm.proxy.db.prisma_query_span -L1 module litellm/repositories/model_repository.py litellm.proxy.common_utils.encrypt_decrypt_utils -L1 module litellm/repositories/table_repositories.py litellm.proxy.common_utils.config_sync_pubsub -L1 module litellm/responses/litellm_completion_transformation/session_handler.py litellm.proxy.spend_tracking.cold_storage_handler L1 module litellm/responses/mcp/litellm_proxy_mcp_handler.py litellm.proxy._experimental.mcp_server.catalog L1 module litellm/responses/mcp/litellm_proxy_mcp_handler.py litellm.proxy._experimental.mcp_server.utils -L1 module litellm/router_strategy/complexity_router/jev_classifier.py litellm.proxy.pass_through_endpoints.llm_provider_handlers.typesafe_passthrough_logging_handler -L1 module litellm/secret_managers/google_secret_manager.py litellm.proxy._types -L1 module litellm/types/proxy/management_endpoints/internal_user_endpoints.py litellm.proxy._types -L1 module litellm/types/proxy/management_endpoints/key_management_endpoints.py litellm.proxy._types -L1 module litellm/types/proxy/management_endpoints/team_endpoints.py litellm.proxy._types L1 module litellm/types/proxy/management_endpoints/team_endpoints.py litellm.proxy.common_utils.timezone_utils -L1 module litellm/types/proxy/management_endpoints/ui_sso.py litellm.proxy._types L2 function litellm/llms/__init__.py litellm.proxy._experimental.mcp_server.guardrail_translation L2 function litellm/llms/a2a/chat/transformation.py litellm.proxy.agent_endpoints.agent_registry L2 function litellm/llms/anthropic/chat/guardrail_translation/handler.py litellm.proxy.common_request_processing L2 function litellm/llms/anthropic/chat/guardrail_translation/handler.py litellm.proxy.guardrails.anthropic_sse L2 function litellm/llms/anthropic/chat/guardrail_translation/handler.py litellm.proxy.policy_engine.pipeline_executor -L2 function litellm/llms/anthropic/pass_through/adapters/handler.py litellm.main L2 function litellm/llms/anthropic/pass_through/adapters/handler.py litellm.proxy.proxy_server L2 function litellm/llms/anthropic/pass_through/context_management/editors/compact.py litellm.proxy._types L2 function litellm/llms/anthropic/pass_through/context_management/editors/compact.py litellm.proxy.auth.auth_checks L2 function litellm/llms/anthropic/pass_through/context_management/editors/compact.py litellm.proxy.hooks.parallel_request_limiter_v3 L2 function litellm/llms/anthropic/pass_through/context_management/editors/compact.py litellm.proxy.proxy_server -L2 function litellm/llms/anthropic/pass_through/messages/handler.py litellm.main L2 function litellm/llms/anthropic/pass_through/messages/interceptors/advisor.py litellm.proxy.proxy_server L2 function litellm/llms/anthropic/pass_through/messages/streaming_iterator.py litellm.proxy.pass_through_endpoints.streaming_handler L2 function litellm/llms/azure/passthrough/transformation.py litellm.proxy.pass_through_endpoints.llm_provider_handlers.openai_passthrough_logging_handler -L2 function litellm/llms/bedrock/passthrough/transformation.py litellm.main -L2 function litellm/llms/gigachat/passthrough/transformation.py litellm.main L2 function litellm/llms/litellm_proxy/skills/handler.py litellm.proxy.proxy_server -L2 function litellm/llms/litellm_proxy/skills/transformation.py litellm.proxy._types L2 function litellm/llms/openai/chat/guardrail_translation/handler.py litellm.proxy.common_request_processing L2 function litellm/llms/openai/chat/guardrail_translation/handler.py litellm.proxy.policy_engine.pipeline_executor L2 function litellm/llms/openai/responses/guardrail_translation/handler.py litellm.proxy.common_request_processing L2 function litellm/llms/openai/responses/guardrail_translation/handler.py litellm.proxy.policy_engine.pipeline_executor L2 function litellm/llms/pass_through/guardrail_translation/handler.py litellm.proxy.pass_through_endpoints.jsonpath_extractor L2 function litellm/llms/pass_through/guardrail_translation/handler.py litellm.proxy.pass_through_endpoints.passthrough_guardrails -L2 module litellm/llms/anthropic/cache_aware_routing.py litellm.proxy.common_utils.prompt_cache_pricing -L2 module litellm/llms/anthropic/cache_aware_routing.py litellm.proxy.hooks.prompt_cache_prediction -L2 module litellm/llms/anthropic/chat/guardrail_translation/handler.py litellm.proxy.pass_through_endpoints.llm_provider_handlers.anthropic_passthrough_logging_handler L2 module litellm/llms/anthropic/pass_through/messages/streaming_iterator.py litellm.proxy.pass_through_endpoints.success_handler -L2 module litellm/llms/base_llm/files/azure_blob_storage_backend.py litellm.proxy.common_utils.path_utils L2 module litellm/llms/base_llm/managed_resources/base_managed_resource.py litellm.proxy._types L2 module litellm/llms/base_llm/managed_resources/isolation.py litellm.proxy._types L2 module litellm/llms/litellm_proxy/skills/handler.py litellm.proxy._types -L2 module litellm/llms/litellm_proxy/skills/handler.py litellm.proxy.common_utils.resource_ownership -L2 module litellm/llms/litellm_proxy/skills/prompt_injection.py litellm.proxy._types L2 module litellm/llms/litellm_proxy/skills/skill_search.py litellm.proxy.common_utils.semantic_text_index -L2 module litellm/llms/openai/chat/guardrail_translation/handler.py litellm.main -L2 module litellm/llms/pass_through/guardrail_translation/handler.py litellm.proxy._types +L3 function litellm/types/integrations/prometheus.py litellm L3 function litellm/types/roi_calculator.py litellm.proxy.roi_calculator.analytics L3 function litellm/types/router.py litellm.secret_managers.main -L3 module litellm/types/adapter.py litellm.integrations.custom_logger -L3 module litellm/types/integrations/prometheus.py litellm -L3 module litellm/types/llms/custom_llm.py litellm.llms.custom_llm -L3 module litellm/types/management_endpoints/auto_router_endpoints.py litellm.router_strategy.complexity_router.config -L3 module litellm/types/proxy/management_endpoints/internal_user_endpoints.py litellm.proxy._types -L3 module litellm/types/proxy/management_endpoints/key_management_endpoints.py litellm.proxy._types -L3 module litellm/types/proxy/management_endpoints/team_endpoints.py litellm.proxy._types L3 module litellm/types/proxy/management_endpoints/team_endpoints.py litellm.proxy.common_utils.timezone_utils -L3 module litellm/types/proxy/management_endpoints/ui_sso.py litellm.proxy._types LEAF function litellm/litellm_core_utils/core_helpers.py litellm LEAF function litellm/litellm_core_utils/core_helpers.py litellm.exceptions LEAF function litellm/litellm_core_utils/core_helpers.py litellm.llms.base_llm.chat.transformation