Implement FastAPI Temporal MVP pipeline

This commit is contained in:
Codex
2026-03-27 00:10:28 +08:00
commit cc03da8a94
52 changed files with 3619 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
"""Domain asset model."""
from dataclasses import dataclass
from datetime import datetime
from typing import Any
from app.domain.enums import AssetType, WorkflowStepName
@dataclass(slots=True)
class Asset:
"""Business representation of a generated asset."""
id: int
order_id: int
asset_type: AssetType
step_name: WorkflowStepName | None
uri: str
metadata_json: dict[str, Any] | None
created_at: datetime