address comments

This commit is contained in:
Xi Yan 2024-10-24 14:49:02 -07:00
parent ba0186f2c8
commit d4887fc746
4 changed files with 8 additions and 8 deletions

View file

@ -61,7 +61,7 @@ class Eval(Protocol):
) -> EvaluateResponse: ...
@webmethod(route="/eval/job/status", method="GET")
async def job_status(self, job_id: str) -> JobStatus: ...
async def job_status(self, job_id: str) -> Optional[JobStatus]: ...
@webmethod(route="/eval/job/cancel", method="POST")
async def job_cancel(self, job_id: str) -> None: ...