mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-11 20:27:54 +02:00
Lint
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
from collections import deque
|
||||
from typing import Any, NamedTuple, Optional
|
||||
from typing import Any, NamedTuple, Optional, Union
|
||||
|
||||
from langchain_core.runnables import Runnable, RunnableConfig
|
||||
|
||||
@@ -18,7 +18,7 @@ class PregelExecutableTask(NamedTuple):
|
||||
|
||||
|
||||
class StateSnapshot(NamedTuple):
|
||||
values: dict[str, Any] | Any
|
||||
values: Union[dict[str, Any], Any]
|
||||
"""Current values of channels"""
|
||||
next: tuple[str]
|
||||
"""Nodes to execute in the next step, if any"""
|
||||
|
||||
Reference in New Issue
Block a user