mirror of
https://gitee.com/dify_ai/dify.git
synced 2024-12-06 05:08:14 +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"
|