mirror of
https://github.com/langgenius/dify.git
synced 2026-03-08 00:55:57 +08:00
21 lines
382 B
Python
21 lines
382 B
Python
from enum import StrEnum
|
|
|
|
|
|
class Operation(StrEnum):
|
|
OVER_WRITE = "over-write"
|
|
CLEAR = "clear"
|
|
APPEND = "append"
|
|
EXTEND = "extend"
|
|
SET = "set"
|
|
ADD = "+="
|
|
SUBTRACT = "-="
|
|
MULTIPLY = "*="
|
|
DIVIDE = "/="
|
|
REMOVE_FIRST = "remove-first"
|
|
REMOVE_LAST = "remove-last"
|
|
|
|
|
|
class InputType(StrEnum):
|
|
VARIABLE = "variable"
|
|
CONSTANT = "constant"
|