mirror of
https://github.com/langgenius/dify.git
synced 2026-03-05 15:47:06 +08:00
17 lines
369 B
Python
17 lines
369 B
Python
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]
|