mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-12 13:29:04 +00:00
The tasks mirror declares the FE-owned inputs column
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
561b8b078b
commit
b008bcc6ba
1 changed files with 5 additions and 0 deletions
|
|
@ -25,6 +25,11 @@ class Task(SQLModel, table=True):
|
|||
job_completed: Optional[datetime] = None
|
||||
status: str = Field(default="In Progress")
|
||||
service: Optional[str] = None
|
||||
# FE-owned column (Drizzle migration): the app stores a task's original
|
||||
# request here — for a Modelling Run, the full trigger-run payload
|
||||
# (ADR-0055). The backend reads it at most; per-batch inputs live on the
|
||||
# sub_tasks.
|
||||
inputs: Optional[str] = None
|
||||
updated_at: datetime = Field(default_factory=datetime.utcnow)
|
||||
|
||||
# source: Mapped[Optional[SourceEnum]] = mapped_column(Enum(SourceEnum)) <- SQLAlchemy not SQLModel
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue