mirror of
https://github.com/langgenius/dify.git
synced 2026-10-04 13:47:55 +08:00
refactor(workflow): move variables package into core.workflow (#32750)
This commit is contained in:
1 parent
962df17a15
commit
1f0fca89a8
104 files changed
+201
-245
No files matched your search
@@ -17,7 +17,9 @@ from uuid import uuid4
|
||||
|
||||
import pytest
|
||||
|
||||
from core.variables.segments import (
|
||||
from core.workflow.file.enums import FileTransferMethod, FileType
|
||||
from core.workflow.file.models import File
|
||||
from core.workflow.variables.segments import (
|
||||
ArrayFileSegment,
|
||||
ArrayNumberSegment,
|
||||
ArraySegment,
|
||||
@@ -28,8 +30,6 @@ from core.variables.segments import (
|
||||
ObjectSegment,
|
||||
StringSegment,
|
||||
)
|
||||
from core.workflow.file.enums import FileTransferMethod, FileType
|
||||
from core.workflow.file.models import File
|
||||
from services.variable_truncator import (
|
||||
DummyVariableTruncator,
|
||||
MaxDepthExceededError,
|
||||
|
||||
Reference in new issue
Block a user