Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion apps/backend/app/api/router/v1/resume.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import logging
import traceback

from uuid import uuid4
from sqlalchemy.ext.asyncio import AsyncSession
from app.services.resume_service import parse_llm_json_response, validate_and_sanitize_resume_data
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot Oct 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove the unused parse_llm_json_response and validate_and_sanitize_resume_data import to avoid dead code and linter warnings.

Prompt for AI agents
Address the following comment on apps/backend/app/api/router/v1/resume.py at line 5:

<comment>Remove the unused `parse_llm_json_response` and `validate_and_sanitize_resume_data` import to avoid dead code and linter warnings.</comment>

<file context>
@@ -1,8 +1,8 @@
-
 from uuid import uuid4
 from sqlalchemy.ext.asyncio import AsyncSession
+from app.services.resume_service import parse_llm_json_response, validate_and_sanitize_resume_data
 from fastapi.responses import JSONResponse, StreamingResponse
 from fastapi import (
</file context>
Fix with Cubic

from fastapi.responses import JSONResponse, StreamingResponse
from fastapi import (
APIRouter,
Expand Down Expand Up @@ -80,6 +80,7 @@ async def upload_resume(
)

file_bytes = await file.read()
logger.info(f"Received file upload: {file.filename}, type: {file.content_type}, size: {len(file_bytes)} bytes")
if not file_bytes:
raise HTTPException(
status_code=status.HTTP_400_BAD_REQUEST,
Expand Down
Loading