fix(lint): resolve remaining ruff errors and unblock MCP SSE test (#1)
This commit is contained in:
parent
a7c30b12cd
commit
98eebe62bf
17 changed files with 60 additions and 87 deletions
4
api.py
4
api.py
|
|
@ -26,6 +26,8 @@ from typing import Any, cast
|
|||
from urllib.parse import urljoin, urlparse
|
||||
|
||||
import httpx
|
||||
import pydantic
|
||||
import redis
|
||||
import uvicorn
|
||||
from fastapi import Body, FastAPI, Request, Response, WebSocket, WebSocketDisconnect
|
||||
from fastapi.middleware.cors import CORSMiddleware
|
||||
|
|
@ -53,6 +55,7 @@ from parser import DocumentParser
|
|||
from pipeline import HOOK_POINTS, get_pipeline, run_pipeline
|
||||
from pryextras import BatchProcessor, TransformEngine, recorder, streams
|
||||
from ratelimit import RateLimiter
|
||||
from routers.auth import router as auth_router
|
||||
from scraper import BlockDetector, PryScraper
|
||||
from settings import settings
|
||||
from x402_middleware import X402Middleware
|
||||
|
|
@ -3135,7 +3138,6 @@ async def list_schemas() -> dict[str, Any]:
|
|||
|
||||
# ── Auth ──
|
||||
# (split into routers/auth.py on the api-router-split refactor)
|
||||
from routers.auth import router as auth_router
|
||||
|
||||
app.include_router(auth_router)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue