From 89140f9f33feb0bdf6392a28a449611583e6697d Mon Sep 17 00:00:00 2001 From: Ryan Crabbe Date: Fri, 20 Feb 2026 10:09:54 -0800 Subject: [PATCH] fix: address review feedback - move constant below imports, add return type --- litellm/proxy/auth/route_checks.py | 4 ++-- litellm/types/utils.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/litellm/proxy/auth/route_checks.py b/litellm/proxy/auth/route_checks.py index 751027975de..b2a14add9d5 100644 --- a/litellm/proxy/auth/route_checks.py +++ b/litellm/proxy/auth/route_checks.py @@ -12,10 +12,10 @@ from litellm.proxy._types import ( UserAPIKeyAuth, ) -_LITELLM_ROUTES_MEMBER_NAMES: frozenset = frozenset(LiteLLMRoutes._member_names_) - from .auth_checks_organization import _user_is_org_admin +_LITELLM_ROUTES_MEMBER_NAMES: frozenset = frozenset(LiteLLMRoutes._member_names_) + class RouteChecks: @staticmethod diff --git a/litellm/types/utils.py b/litellm/types/utils.py index 9befa9dd39f..1495de1e76d 100644 --- a/litellm/types/utils.py +++ b/litellm/types/utils.py @@ -3429,7 +3429,7 @@ class DynamicPromptManagementParamLiteral(str, Enum): VECTOR_STORE_IDS = "vector_store_ids" @classmethod - def list_all_params(cls): + def list_all_params(cls) -> frozenset: return _DYNAMIC_PROMPT_MANAGEMENT_PARAMS