mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-09 22:31:41 +00:00
fix(ruff): remove duplicate RouteChecks import
The import at the top level was unused because RouteChecks is imported locally inside each function that needs it (likely to avoid circular imports). This was causing F401 (unused import) and F811 (redefinition) ruff errors.
This commit is contained in:
parent
d050404393
commit
685e72180c
1 changed files with 0 additions and 1 deletions
|
|
@ -12,7 +12,6 @@ from fastapi import APIRouter, Depends, HTTPException, Query
|
|||
from litellm._logging import verbose_proxy_logger
|
||||
from litellm.constants import MAX_POLICY_ESTIMATE_IMPACT_ROWS
|
||||
from litellm.proxy._types import UserAPIKeyAuth
|
||||
from litellm.proxy.auth.route_checks import RouteChecks
|
||||
from litellm.proxy.auth.user_api_key_auth import user_api_key_auth
|
||||
from litellm.proxy.policy_engine.attachment_registry import get_attachment_registry
|
||||
from litellm.proxy.policy_engine.policy_registry import get_policy_registry
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue