mirror of
https://github.com/langgenius/dify.git
synced 2026-05-04 09:28:04 +08:00
refactor: move workflow package to dify_graph (#32844)
This commit is contained in:
@ -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
|
||||
|
||||
@ -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,
|
||||
)
|
||||
|
||||
@ -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,
|
||||
)
|
||||
|
||||
@ -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
|
||||
|
||||
Reference in New Issue
Block a user