We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a5132c commit 007bd52Copy full SHA for 007bd52
app/routers/unit_jobs.py
@@ -33,7 +33,11 @@ async def create_unit_job(
33
)
34
35
36
-@router.get("/unit_jobs/{job_id}", tags=["Unit Jobs"])
+@router.get(
37
+ "/unit_jobs/{job_id}",
38
+ tags=["Unit Jobs"],
39
+ responses={404: {"description": "Processing job not found"}},
40
+)
41
async def get_job(
42
job_id: int, db: Session = Depends(get_db), user: str = "foobar"
43
) -> ProcessingJob:
0 commit comments