mirror of
https://github.com/langgenius/dify.git
synced 2025-07-05 16:22:23 +00: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"
|