refactor: move workflow package to dify_graph (#32844)

This commit is contained in:
-LAN-
2026-03-02 18:42:30 +08:00
committed by GitHub
parent 9c33923985
commit c917838f9c
613 changed files with 2008 additions and 2012 deletions

View File

@ -4,8 +4,8 @@ from dataclasses import dataclass, field
from datetime import datetime, timedelta
from typing import Any
from core.workflow.nodes.human_input.entities import FormInput
from core.workflow.nodes.human_input.enums import TimeoutUnit
from dify_graph.nodes.human_input.entities import FormInput
from dify_graph.nodes.human_input.enums import TimeoutUnit
# Exceptions

View File

@ -6,11 +6,11 @@ from datetime import datetime, timedelta
import pytest
from core.workflow.nodes.human_input.entities import (
from dify_graph.nodes.human_input.entities import (
FormInput,
UserAction,
)
from core.workflow.nodes.human_input.enums import (
from dify_graph.nodes.human_input.enums import (
FormInputType,
TimeoutUnit,
)

View File

@ -6,11 +6,11 @@ from datetime import datetime, timedelta
import pytest
from core.workflow.nodes.human_input.entities import (
from dify_graph.nodes.human_input.entities import (
FormInput,
UserAction,
)
from core.workflow.nodes.human_input.enums import (
from dify_graph.nodes.human_input.enums import (
FormInputType,
TimeoutUnit,
)

View File

@ -294,7 +294,7 @@ class TestFrontendBackendIntegration(unittest.TestCase):
def test_schedule_service_integration(self):
"""Test integration with ScheduleService patterns."""
from core.workflow.nodes.trigger_schedule.entities import VisualConfig
from dify_graph.nodes.trigger_schedule.entities import VisualConfig
from services.trigger.schedule_service import ScheduleService
# Test enhanced syntax through visual config conversion