This commit is contained in:
Xi Yan 2025-03-12 00:39:49 -07:00
parent 3e0d4901da
commit 4acd1e404e
2 changed files with 12 additions and 7 deletions

View file

@ -28,9 +28,11 @@ class CommonJobFields(BaseModel):
:param status: The status of the job.
:param created_at: The time the job was created.
:param finished_at: The time the job finished.
:param error: If status of the job is failed, this will contain the error message.
"""
id: str
status: JobStatus
created_at: datetime
finished_at: Optional[datetime] = None
error: Optional[str] = None