diff --git a/libs/langgraph/langgraph/graph/state.py b/libs/langgraph/langgraph/graph/state.py index a66062717..9573e63ae 100644 --- a/libs/langgraph/langgraph/graph/state.py +++ b/libs/langgraph/langgraph/graph/state.py @@ -47,9 +47,9 @@ from langgraph._internal._fields import ( from langgraph._internal._pydantic import create_model from langgraph._internal._runnable import coerce_to_runnable from langgraph._internal._typing import EMPTY_SEQ, MISSING, DeprecatedKwargs +from langgraph.channels._delta import DeltaChannel from langgraph.channels.base import BaseChannel from langgraph.channels.binop import BinaryOperatorAggregate, _strip_extras -from langgraph.channels._delta import DeltaChannel from langgraph.channels.ephemeral_value import EphemeralValue from langgraph.channels.last_value import LastValue, LastValueAfterFinish from langgraph.channels.named_barrier_value import ( diff --git a/libs/langgraph/langgraph/pregel/_checkpoint.py b/libs/langgraph/langgraph/pregel/_checkpoint.py index 3437692be..51350071d 100644 --- a/libs/langgraph/langgraph/pregel/_checkpoint.py +++ b/libs/langgraph/langgraph/pregel/_checkpoint.py @@ -8,8 +8,8 @@ from langgraph.checkpoint.base import DELTA_SENTINEL, BaseCheckpointSaver, Check from langgraph.checkpoint.base.id import uuid6 from langgraph._internal._typing import MISSING -from langgraph.channels.base import BaseChannel from langgraph.channels._delta import DeltaChannel +from langgraph.channels.base import BaseChannel from langgraph.managed.base import ManagedValueMapping, ManagedValueSpec LATEST_VERSION = 4 diff --git a/libs/langgraph/tests/test_channels.py b/libs/langgraph/tests/test_channels.py index 2b858b6a0..1aed2333f 100644 --- a/libs/langgraph/tests/test_channels.py +++ b/libs/langgraph/tests/test_channels.py @@ -6,8 +6,8 @@ from langchain_core.messages import AIMessage, HumanMessage from langgraph.checkpoint.base import DELTA_SENTINEL from langgraph._internal._typing import MISSING -from langgraph.channels.binop import BinaryOperatorAggregate from langgraph.channels._delta import DeltaChannel +from langgraph.channels.binop import BinaryOperatorAggregate from langgraph.channels.last_value import LastValue from langgraph.channels.topic import Topic from langgraph.channels.untracked_value import UntrackedValue diff --git a/libs/langgraph/tests/test_delta_channel_migration.py b/libs/langgraph/tests/test_delta_channel_migration.py index bdaa1e6ea..fb107395a 100644 --- a/libs/langgraph/tests/test_delta_channel_migration.py +++ b/libs/langgraph/tests/test_delta_channel_migration.py @@ -49,8 +49,8 @@ import pytest from langgraph.checkpoint.memory import InMemorySaver from typing_extensions import TypedDict -from langgraph.channels.binop import BinaryOperatorAggregate from langgraph.channels._delta import DeltaChannel +from langgraph.channels.binop import BinaryOperatorAggregate from langgraph.graph import END, START, StateGraph pytestmark = pytest.mark.anyio