6e00c9d3c3
Deploy / Build Production Runtime Images (push) Has been skipped
Deploy / Deploy Production (push) Has been skipped
Deploy / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 18s
Deploy / Deploy Staging (push) Successful in 1s
24 lines
537 B
Python
24 lines
537 B
Python
from datetime import datetime
|
|
|
|
from pydantic import BaseModel, Field
|
|
|
|
|
|
class ProjectTaskResponse(BaseModel):
|
|
id: str
|
|
task_type: str
|
|
workspace_id: str
|
|
project_id: str
|
|
status: str
|
|
progress: float
|
|
current_step: str
|
|
error_message: str = ""
|
|
user_message: str = ""
|
|
retryable: bool = False
|
|
source_id: str = ""
|
|
created_at: datetime | None = None
|
|
updated_at: datetime | None = None
|
|
|
|
|
|
class ListProjectTasksResponse(BaseModel):
|
|
items: list[ProjectTaskResponse] = Field(default_factory=list)
|