From 7d940a4a962fd6c6a08834d7a8fbcab33a0c14ee Mon Sep 17 00:00:00 2001 From: vbarda Date: Thu, 12 Dec 2024 10:58:50 -0500 Subject: [PATCH] lint --- libs/checkpoint/langgraph/checkpoint/serde/jsonplus.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/libs/checkpoint/langgraph/checkpoint/serde/jsonplus.py b/libs/checkpoint/langgraph/checkpoint/serde/jsonplus.py index d1855624d..01c89060b 100644 --- a/libs/checkpoint/langgraph/checkpoint/serde/jsonplus.py +++ b/libs/checkpoint/langgraph/checkpoint/serde/jsonplus.py @@ -468,7 +468,9 @@ def _msgpack_ext_hook(code: int, data: bytes) -> Any: return elif code == EXT_PYDANTIC_V1: try: - tup = msgpack.unpackb(data, ext_hook=_msgpack_ext_hook, strict_map_key=False) + tup = msgpack.unpackb( + data, ext_hook=_msgpack_ext_hook, strict_map_key=False + ) # module, name, kwargs cls = getattr(importlib.import_module(tup[0]), tup[1]) try: @@ -479,7 +481,9 @@ def _msgpack_ext_hook(code: int, data: bytes) -> Any: return elif code == EXT_PYDANTIC_V2: try: - tup = msgpack.unpackb(data, ext_hook=_msgpack_ext_hook, strict_map_key=False) + tup = msgpack.unpackb( + data, ext_hook=_msgpack_ext_hook, strict_map_key=False + ) # module, name, kwargs, method cls = getattr(importlib.import_module(tup[0]), tup[1]) try: