[add]: refactoring and cleanup

This commit is contained in:
VivianDee
2025-09-07 23:44:25 +01:00
parent 6de9583aaf
commit d9b6a7e92e
8 changed files with 161 additions and 35 deletions
+17
View File
@@ -0,0 +1,17 @@
from typing import Optional, Dict, List, Union
from pydantic import BaseModel
class AnalysisResponse(BaseModel):
"""Response model for analysis endpoints."""
message: str
data: Optional[Dict] = None
file_path: Optional[str] = None
class BatchResponse(BaseModel):
"""Response model for batch processing."""
batch_number: int
total_batches: int
processed_rows: int
results_path: str
message: str