refactor(dify_graph): unify invoke and user enums source in workflow (#32873)

This commit is contained in:
99
2026-03-03 15:05:20 +08:00
committed by GitHub
parent 48c8aac092
commit c8688ec371
44 changed files with 124 additions and 157 deletions
-2
View File
@@ -30,7 +30,6 @@ from .enums import (
AppTriggerStatus,
AppTriggerType,
CreatorUserRole,
UserFrom,
WorkflowRunTriggeredFrom,
WorkflowTriggerStatus,
)
@@ -204,7 +203,6 @@ __all__ = [
"TriggerOAuthTenantClient",
"TriggerSubscription",
"UploadFile",
"UserFrom",
"Whitelist",
"Workflow",
"WorkflowAppLog",
-5
View File
@@ -8,11 +8,6 @@ class CreatorUserRole(StrEnum):
END_USER = "end_user"
class UserFrom(StrEnum):
ACCOUNT = "account"
END_USER = "end-user"
class WorkflowRunTriggeredFrom(StrEnum):
DEBUGGING = "debugging"
APP_RUN = "app-run" # webapp / service api