refactor(workflow): move variables package into core.workflow (#32750)

This commit is contained in:
-LAN- authored and GitHub committed 2026-03-01 03:15:09 +08:00
1 parent 962df17a15
commit 1f0fca89a8
104 files changed
+201 -245

No files matched your search

+4 -4
View File
@@ -6,7 +6,9 @@ from collections.abc import Mapping
from typing import Any, Generic, TypeAlias, TypeVar, overload
from configs import dify_config
from core.variables.segments import (
from core.workflow.file.models import File
from core.workflow.nodes.variable_assigner.common.helpers import UpdatedVariable
from core.workflow.variables.segments import (
ArrayFileSegment,
ArraySegment,
BooleanSegment,
@@ -18,9 +20,7 @@ from core.variables.segments import (
Segment,
StringSegment,
)
from core.variables.utils import dumps_with_segments
from core.workflow.file.models import File
from core.workflow.nodes.variable_assigner.common.helpers import UpdatedVariable
from core.workflow.variables.utils import dumps_with_segments
_MAX_DEPTH = 100