mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-07-01 08:59:46 +02:00
Initial Commit 🚀 🚀
This commit is contained in:
commit
4f2a629340
444 changed files with 76863 additions and 0 deletions
19
api/schemas/workflow.py
Normal file
19
api/schemas/workflow.py
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
from datetime import datetime
|
||||
from typing import Any, Dict
|
||||
|
||||
from pydantic import BaseModel
|
||||
|
||||
|
||||
class WorkflowRunResponseSchema(BaseModel):
|
||||
id: int
|
||||
workflow_id: int
|
||||
name: str
|
||||
mode: str
|
||||
created_at: datetime
|
||||
is_completed: bool
|
||||
transcript_url: str | None
|
||||
recording_url: str | None
|
||||
cost_info: Dict[str, Any] | None
|
||||
definition_id: int | None # This is for backward compatibility
|
||||
initial_context: dict | None = None
|
||||
gathered_context: dict | None = None
|
||||
Loading…
Add table
Add a link
Reference in a new issue