forked from phoenix-oss/llama-stack-mirror
comments
This commit is contained in:
parent
a8b0467ec3
commit
a69759613a
7 changed files with 2486 additions and 389 deletions
|
@ -5,7 +5,6 @@
|
|||
# the root directory of this source tree.
|
||||
from datetime import datetime
|
||||
from enum import Enum
|
||||
from typing import Optional
|
||||
|
||||
from pydantic import BaseModel
|
||||
|
||||
|
@ -38,12 +37,12 @@ class CommonJobFields(BaseModel):
|
|||
:param id: The ID of the job.
|
||||
:param status: The status of the job.
|
||||
:param created_at: The time the job was created.
|
||||
:param ended_at: The time the job ended.
|
||||
:param completed_at: The time the job completed.
|
||||
:param error: If status of the job is failed, this will contain the error message.
|
||||
"""
|
||||
|
||||
id: str
|
||||
status: JobStatus
|
||||
created_at: datetime
|
||||
ended_at: Optional[datetime] = None
|
||||
error: Optional[str] = None
|
||||
completed_at: datetime | None = None
|
||||
error: str | None = None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue