Handle sneds

This commit is contained in:
William Fu-Hinthorn
2025-03-24 17:12:50 -07:00
parent b285a118a7
commit 10859da99a
2 changed files with 5 additions and 1 deletions
@@ -554,6 +554,10 @@ def _msgpack_ext_hook_to_json(code: int, data: bytes) -> Any:
ext_hook=_msgpack_ext_hook_to_json,
option=ormsgpack.OPT_NON_STR_KEYS,
)
if tup[0] == "langgraph.types" and tup[1] == "Send":
from langgraph.types import Send # type: ignore
return Send(*tup[2])
# module, name, args
return tup[2]
except Exception:
+1 -1
View File
@@ -1,6 +1,6 @@
[tool.poetry]
name = "langgraph-checkpoint"
version = "2.0.22"
version = "2.0.23"
description = "Library with base interfaces for LangGraph checkpoint savers."
authors = []
license = "MIT"