mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 11:42:29 +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"
|