From 2b78bf3bad994fa48d1a3f6eb09db96d1999a3b4 Mon Sep 17 00:00:00 2001 From: William FH <13333726+hinthornw@users.noreply.github.com> Date: Mon, 1 Dec 2025 10:14:12 -0800 Subject: [PATCH] fix: docstring for serializer protocol (#6525) --- libs/checkpoint/langgraph/checkpoint/serde/base.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/libs/checkpoint/langgraph/checkpoint/serde/base.py b/libs/checkpoint/langgraph/checkpoint/serde/base.py index 5d686b6d4..186e162fa 100644 --- a/libs/checkpoint/langgraph/checkpoint/serde/base.py +++ b/libs/checkpoint/langgraph/checkpoint/serde/base.py @@ -15,9 +15,7 @@ class UntypedSerializerProtocol(Protocol): class SerializerProtocol(Protocol): """Protocol for serialization and deserialization of objects. - - `dumps`: Serialize an object to bytes. - `dumps_typed`: Serialize an object to a tuple `(type, bytes)`. - - `loads`: Deserialize an object from bytes. - `loads_typed`: Deserialize an object from a tuple `(type, bytes)`. Valid implementations include the `pickle`, `json` and `orjson` modules.