mirror of
https://github.com/langgenius/dify.git
synced 2026-10-04 13:47:55 +08:00
refactor: move workflow package to dify_graph (#32844)
This commit is contained in:
1 parent
9c33923985
commit
c917838f9c
613 files changed
+2008
-2012
No files matched your search
@@ -0,0 +1,16 @@
|
||||
from collections.abc import Sequence
|
||||
from enum import StrEnum
|
||||
|
||||
from dify_graph.nodes.base import BaseNodeData
|
||||
|
||||
|
||||
class WriteMode(StrEnum):
|
||||
OVER_WRITE = "over-write"
|
||||
APPEND = "append"
|
||||
CLEAR = "clear"
|
||||
|
||||
|
||||
class VariableAssignerData(BaseNodeData):
|
||||
assigned_variable_selector: Sequence[str]
|
||||
write_mode: WriteMode
|
||||
input_variable_selector: Sequence[str]
|
||||
Reference in new issue
Block a user