mirror of
https://github.com/langgenius/dify.git
synced 2026-03-04 23:36:20 +08:00
9 lines
274 B
Python
9 lines
274 B
Python
from enum import StrEnum
|
|
|
|
|
|
class WorkflowStartReason(StrEnum):
|
|
"""Reason for workflow start events across graph/queue/SSE layers."""
|
|
|
|
INITIAL = "initial" # First start of a workflow run.
|
|
RESUMPTION = "resumption" # Start triggered after resuming a paused run.
|