LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • LangGraph Checkpoint
    LangGraph Store
    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
    LangGraph Store
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    Language
    Theme
    Pythonlanggraph.checkpoint.postgresshallowAsyncShallowPostgresSaverget_tuple
    Method●Since v2.0

    get_tuple

    Copy
    get_tuple(
        self,
        config: RunnableConfig,
    ) -> CheckpointTuple | None
    View source on GitHub

    Parameters

    NameTypeDescription
    config*RunnableConfig

    The config to use for retrieving the checkpoint.

    Get a checkpoint tuple from the database.

    This method retrieves a checkpoint tuple from the Postgres database based on the provided config (matching the thread ID in the config).