refactor(api): use standalone graphon package (#34209)

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
99
2026-03-27 21:05:32 +00:00
committed by GitHub
co-authored by autofix-ci[bot]
parent 32d394d65b
commit 40591a7c50
883 changed files with 1779 additions and 47377 deletions
+3 -5
View File
@@ -3,6 +3,9 @@ from collections.abc import Generator
from threading import Lock
from typing import Any, cast
from graphon.enums import WorkflowNodeExecutionMetadataKey, WorkflowNodeExecutionStatus
from graphon.file import File, FileTransferMethod, FileType, get_file_type_by_mime_type
from graphon.node_events import NodeRunResult, StreamChunkEvent, StreamCompletedEvent
from sqlalchemy import select
import contexts
@@ -28,11 +31,6 @@ from core.plugin.impl.datasource import PluginDatasourceManager
from core.workflow.file_reference import build_file_reference
from core.workflow.nodes.datasource.entities import DatasourceParameter, OnlineDriveDownloadFileParam
from factories import file_factory
from graphon.entities.workflow_node_execution import WorkflowNodeExecutionStatus
from graphon.enums import WorkflowNodeExecutionMetadataKey
from graphon.file import File, get_file_type_by_mime_type
from graphon.file.enums import FileTransferMethod, FileType
from graphon.node_events import NodeRunResult, StreamChunkEvent, StreamCompletedEvent
from models.model import UploadFile
from models.tools import ToolFile
from services.datasource_provider_service import DatasourceProviderService