mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-09 22:31:41 +00:00
style: shorten noqa reason to satisfy ruff import sorting
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
8437d2a9c3
commit
056629e6ab
1 changed files with 1 additions and 1 deletions
|
|
@ -325,7 +325,7 @@ _LLM_ROUTE_BANNED_REQUEST_BODY_PARAMS: Final[tuple[str, ...]] = ("api_key",)
|
|||
|
||||
|
||||
def _banned_params_for_route(route: str) -> tuple[str, ...]:
|
||||
from litellm.proxy.auth.route_checks import RouteChecks # noqa: PLC0415 # auth_utils participates in a proxy import cycle
|
||||
from litellm.proxy.auth.route_checks import RouteChecks # noqa: PLC0415 # proxy import cycle
|
||||
|
||||
if RouteChecks.is_llm_api_route(route):
|
||||
return _BANNED_REQUEST_BODY_PARAMS + _LLM_ROUTE_BANNED_REQUEST_BODY_PARAMS
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue