2025-02-09 20:30:19 +08:00
|
|
|
from datetime import datetime
|
|
|
|
|
|
|
|
|
|
from pydantic import BaseModel, ConfigDict
|
|
|
|
|
|
2025-03-30 18:34:48 -07:00
|
|
|
from skyvern.schemas.runs import RunType
|
2025-02-09 20:30:19 +08:00
|
|
|
|
|
|
|
|
|
2025-03-30 18:41:24 -07:00
|
|
|
class Run(BaseModel):
|
2025-02-09 20:30:19 +08:00
|
|
|
model_config = ConfigDict(from_attributes=True)
|
|
|
|
|
|
|
|
|
|
task_run_id: str
|
2025-03-30 18:34:48 -07:00
|
|
|
task_run_type: RunType
|
2025-02-09 20:30:19 +08:00
|
|
|
run_id: str
|
|
|
|
|
organization_id: str | None = None
|
|
|
|
|
title: str | None = None
|
|
|
|
|
url: str | None = None
|
|
|
|
|
cached: bool = False
|
|
|
|
|
created_at: datetime
|
|
|
|
|
modified_at: datetime
|