mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-05 02:41:56 +00:00
fix(static-assets): ruff F811 — drop duplicate Response import
``Response`` is already imported from the top-level ``fastapi`` package via the multi-line ``from fastapi import (...)`` block at the top of the file (along with ``Depends``, ``HTTPException``, etc.) — ``fastapi.Response`` is the same class that ``fastapi.responses`` re-exports. The earlier ``from fastapi.responses import Response`` addition triggered ruff F811 for redefinition. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
89aa13fdf3
commit
14473ed8f9
1 changed files with 0 additions and 1 deletions
|
|
@ -605,7 +605,6 @@ from fastapi.responses import (
|
|||
JSONResponse,
|
||||
ORJSONResponse,
|
||||
RedirectResponse,
|
||||
Response,
|
||||
StreamingResponse,
|
||||
)
|
||||
from fastapi.routing import APIRouter
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue