Files
xiaoxia-saas/apps/api/app/schemas/ingest_job.py
T
xiaoxia 127dc4a769
Deploy / Build Production Runtime Images (push) Has been skipped
Deploy / Deploy Production (push) Has been skipped
Deploy / Production Browser E2E (push) Has been skipped
Deploy / Deploy Staging (push) Failing after 163h34m12s
CI/CD Pipeline / Frontend Lint (push) Failing after 163h34m13s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 163h34m19s
fix: IngestJobResponse.result_asset_id 改为可选字段
2026-07-02 17:20:14 +08:00

18 lines
421 B
Python

from pydantic import BaseModel, Field
class SubmitIngestJobRequest(BaseModel):
project_id: str = Field(..., min_length=1)
library_id: str = Field(..., min_length=1)
storage_key: str = Field(..., min_length=1, max_length=255)
class IngestJobResponse(BaseModel):
id: str
project_id: str
library_id: str
storage_key: str
status: str
error_message: str
result_asset_id: str | None