From ca9cdea8a7bed1a4ee682a6567415c5477da78d4 Mon Sep 17 00:00:00 2001 From: jquinter Date: Fri, 13 Feb 2026 00:40:08 -0300 Subject: [PATCH] Update litellm/proxy/policy_engine/policy_resolve_endpoints.py Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> --- litellm/proxy/policy_engine/policy_resolve_endpoints.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/litellm/proxy/policy_engine/policy_resolve_endpoints.py b/litellm/proxy/policy_engine/policy_resolve_endpoints.py index 428ab2b63b..27ee896c71 100644 --- a/litellm/proxy/policy_engine/policy_resolve_endpoints.py +++ b/litellm/proxy/policy_engine/policy_resolve_endpoints.py @@ -12,9 +12,7 @@ from typing import TYPE_CHECKING try: from fastapi import APIRouter, Depends, HTTPException, Query except ImportError: - # Provide stubs for type checking only - if TYPE_CHECKING: - from fastapi import APIRouter, Depends, HTTPException, Query + # Provide stubs for environments without FastAPI else: # Create mock classes that won't be used class APIRouter: # type: ignore[no-redef]