mirror of
https://gitee.com/dify_ai/dify.git
synced 2024-12-03 19:57:37 +08:00
17 lines
282 B
Python
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"
|