added vegetation

This commit is contained in:
2026-06-23 13:57:33 +03:00
parent 0c9fc22d22
commit c7435955c3
32 changed files with 336 additions and 15 deletions
+4 -1
View File
@@ -10,5 +10,8 @@ router = APIRouter()
def read(job_id: str) -> JobResponse:
job = get_job(job_id)
if job is None:
raise HTTPException(status_code=status.HTTP_404_NOT_FOUND, detail="Job not found")
raise HTTPException(
status_code=status.HTTP_404_NOT_FOUND,
detail={"code": "JOB_NOT_FOUND", "detail": "Job not found"},
)
return job