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.checkpointbaseBaseCheckpointSaveraput_writes
    Method●Since v1.0

    aput_writes

    Asynchronously store intermediate writes linked to a checkpoint.

    Copy
    aput_writes(
      self,
      config: RunnableConfig,
      writes: Sequence[tuple[str, Any]],
      task_id: str,
      task_path: str = ''
    ) -> None

    Parameters

    NameTypeDescription
    config*RunnableConfig

    Configuration of the related checkpoint.

    writes*Sequence[tuple[str, Any]]

    List of writes to store.

    task_id*str

    Identifier for the task creating the writes.

    task_pathstr
    Default:''

    Path of the task creating the writes.

    View source on GitHub