diff --git a/langgraph/pregel/io.py b/langgraph/pregel/io.py index b844b1e55..4dfc7b967 100644 --- a/langgraph/pregel/io.py +++ b/langgraph/pregel/io.py @@ -27,7 +27,7 @@ def map_output( output_channels: Union[str, Sequence[str]], pending_writes: Sequence[tuple[str, Any]], channels: Mapping[str, BaseChannel], -) -> dict[str, Any] | Any | None: +) -> Optional[Union[dict[str, Any], Any]]: """Map pending writes (a sequence of tuples (channel, value)) to output chunk.""" if isinstance(output_channels, str): if any(chan == output_channels for chan, _ in pending_writes): diff --git a/pyproject.toml b/pyproject.toml index 3ff1de7e0..e115456e2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "langgraph" -version = "0.0.8" +version = "0.0.9" description = "langgraph" authors = [] license = "LangGraph License"