added formulas
This commit is contained in:
Binary file not shown.
@@ -23,7 +23,9 @@ def _artifact_path(job_id: str) -> Path:
|
||||
status_code=status.HTTP_409_CONFLICT,
|
||||
detail={"code": "JOB_NOT_READY", "detail": "Job is not finished yet"},
|
||||
)
|
||||
uri = (record.get("result") or {}).get("uri")
|
||||
result = record.get("result") or {}
|
||||
data = result.get("data") if isinstance(result.get("data"), dict) else {}
|
||||
uri = result.get("uri") or data.get("uri")
|
||||
if not uri:
|
||||
raise HTTPException(
|
||||
status_code=status.HTTP_404_NOT_FOUND,
|
||||
|
||||
Reference in New Issue
Block a user