Skip to content

Commit 18fd549

Browse files
kutcodeclaude
andcommitted
Fix ruff lint error: remove undefined QAPair forward reference
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent e0bcefd commit 18fd549

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

backend/app/routers/upload.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1149,7 +1149,7 @@ async def list_question_results(job_id: int, db: AsyncSession = Depends(get_db))
11491149

11501150
# Batch-fetch all referenced KB pairs (source traceability)
11511151
kb_ids = {q.kb_pair_id for q in items if q.kb_pair_id}
1152-
kb_lookup: dict[int, "QAPair"] = {}
1152+
kb_lookup: dict = {}
11531153
if kb_ids:
11541154
from app.models import QAPair as _QAPair # local import to avoid cycle
11551155
kb_result = await db.execute(

0 commit comments

Comments
 (0)