fix: add workflow run state for pipeline

This commit is contained in:
Sabiha Khan 2025-12-10 18:02:54 +05:30
parent 4640f69f9b
commit 2b4df0025f
6 changed files with 104 additions and 3 deletions

View file

@ -54,6 +54,12 @@ class StorageBackend(Enum):
return cls.MINIO
class WorkflowRunState(Enum):
INITIALIZED = "initialized" # Workflow run created, ready for connection
RUNNING = "running" # Websocket connected and pipeline active
COMPLETED = "completed" # Workflow run finished
class WorkflowRunStatus(Enum):
# historical modes
VOICE = "VOICE"