style: auto-format after segment 3 import migrations

Made-with: Cursor
This commit is contained in:
Novice
2026-03-23 10:37:02 +08:00
parent 55095e70d2
commit b15a9bea21
27 changed files with 49 additions and 57 deletions

View File

@ -2,19 +2,18 @@ import logging
from collections.abc import Mapping, Sequence
from typing import Any
from dify_graph.enums import NodeType, WorkflowNodeExecutionStatus
from dify_graph.nodes.base.entities import VariableSelector
from dify_graph.nodes.base.node import Node
from dify_graph.nodes.base.variable_template_parser import VariableTemplateParser
from core.sandbox import sandbox_debug
from core.sandbox.bash.session import SANDBOX_READY_TIMEOUT
from core.virtual_environment.__base.command_future import CommandCancelledError, CommandTimeoutError
from core.virtual_environment.__base.helpers import submit_command, with_connection
from dify_graph.node_events import NodeRunResult
from dify_graph.nodes.base import variable_template_parser
from core.workflow.nodes.command.entities import CommandNodeData
from core.workflow.nodes.command.exc import CommandExecutionError
from dify_graph.enums import NodeType, WorkflowNodeExecutionStatus
from dify_graph.node_events import NodeRunResult
from dify_graph.nodes.base import variable_template_parser
from dify_graph.nodes.base.entities import VariableSelector
from dify_graph.nodes.base.node import Node
from dify_graph.nodes.base.variable_template_parser import VariableTemplateParser
logger = logging.getLogger(__name__)

View File

@ -5,17 +5,16 @@ from collections.abc import Mapping, Sequence
from pathlib import PurePosixPath
from typing import Any, cast
from dify_graph.enums import NodeType, WorkflowNodeExecutionStatus
from dify_graph.nodes.base.node import Node
from dify_graph.variables.segments import ArrayStringSegment, FileSegment
from core.sandbox.bash.session import SANDBOX_READY_TIMEOUT
from core.virtual_environment.__base.command_future import CommandCancelledError, CommandTimeoutError
from core.virtual_environment.__base.helpers import pipeline
from core.zip_sandbox import SandboxDownloadItem
from dify_graph.enums import NodeType, WorkflowNodeExecutionStatus
from dify_graph.file import File, FileTransferMethod
from dify_graph.node_events import NodeRunResult
from dify_graph.nodes.base.node import Node
from dify_graph.variables import ArrayFileSegment
from core.zip_sandbox import SandboxDownloadItem
from dify_graph.variables.segments import ArrayStringSegment, FileSegment
from .entities import FileUploadNodeData
from .exc import FileUploadDownloadError, FileUploadNodeError