This commit is contained in:
Nuno Campos
2024-01-08 08:31:13 -08:00
parent fea9acab06
commit 6a7d2c6ee4
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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):
+1 -1
View File
@@ -1,6 +1,6 @@
[tool.poetry]
name = "langgraph"
version = "0.0.8"
version = "0.0.9"
description = "langgraph"
authors = []
license = "LangGraph License"