You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567891011121314151617181920212223242526272829303132
  1. from enum import StrEnum
  2. class CreatorUserRole(StrEnum):
  3. ACCOUNT = "account"
  4. END_USER = "end_user"
  5. class UserFrom(StrEnum):
  6. ACCOUNT = "account"
  7. END_USER = "end-user"
  8. class WorkflowRunTriggeredFrom(StrEnum):
  9. DEBUGGING = "debugging"
  10. APP_RUN = "app-run"
  11. class DraftVariableType(StrEnum):
  12. # node means that the correspond variable
  13. NODE = "node"
  14. SYS = "sys"
  15. CONVERSATION = "conversation"
  16. class MessageStatus(StrEnum):
  17. """
  18. Message Status Enum
  19. """
  20. NORMAL = "normal"
  21. ERROR = "error"