dify/api/models/enums.py

17 lines
282 B
Python

from enum import Enum
class CreatedByRole(str, Enum):
ACCOUNT = "account"
END_USER = "end_user"
class UserFrom(str, Enum):
ACCOUNT = "account"
END_USER = "end-user"
class WorkflowRunTriggeredFrom(str, Enum):
DEBUGGING = "debugging"
APP_RUN = "app-run"