diff --git a/libs/langgraph/tests/test_pregel.py b/libs/langgraph/tests/test_pregel.py index 34b4615be..fcee1fa20 100644 --- a/libs/langgraph/tests/test_pregel.py +++ b/libs/langgraph/tests/test_pregel.py @@ -13935,7 +13935,7 @@ def test_store_injected( thread_2 = str(uuid.uuid4()) class Node: - def __init__(self, i: int | None = None): + def __init__(self, i: Optional[int] = None): self.i = i def __call__(self, inputs: State, config: RunnableConfig, store: BaseStore): diff --git a/libs/langgraph/tests/test_pregel_async.py b/libs/langgraph/tests/test_pregel_async.py index 0018c22b2..c5812e896 100644 --- a/libs/langgraph/tests/test_pregel_async.py +++ b/libs/langgraph/tests/test_pregel_async.py @@ -12281,7 +12281,7 @@ async def test_store_injected_async(checkpointer_name: str, store_name: str) -> thread_2 = str(uuid.uuid4()) class Node: - def __init__(self, i: int | None = None): + def __init__(self, i: Optional[int] = None): self.i = i async def __call__(