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

    aput_writes

    Copy
    aput_writes(
      self,
      config: RunnableConfig,
      writes: Sequence[tuple[str, Any]
    View source on GitHub
    ]
    ,
    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, each as (channel, value) pair.

    task_id*str

    Store intermediate writes linked to a checkpoint asynchronously.

    This method saves intermediate writes associated with a checkpoint to the database.

    Identifier for the task creating the writes.