LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • LangGraph Checkpoint
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    ⌘I

    LangChain Assistant

    Ask a question to get started

    Enter to send•Shift+Enter new line

    Menu

    LangGraph Checkpoint
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    Language
    Theme
    Pythonlanggraph.checkpointserdebase
    Module●Since v1.0

    base

    Functions

    function
    maybe_add_typed_methods

    Wrap serde old serde implementations in a class with loads_typed and dumps_typed for backwards compatibility.

    Classes

    class
    UntypedSerializerProtocol

    Protocol for serialization and deserialization of objects.

    class
    SerializerProtocol

    Protocol for serialization and deserialization of objects.

    • dumps_typed: Serialize an object to a tuple (type, bytes).
    • loads_typed: Deserialize an object from a tuple (type, bytes).

    Valid implementations include the pickle, json and orjson modules.

    class
    SerializerCompat
    class
    CipherProtocol

    Protocol for encryption and decryption of data.

    • encrypt: Encrypt plaintext.
    • decrypt: Decrypt ciphertext.
    View source on GitHub