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.