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.checkpointmemoryInMemorySaveraput_writes
    Method●Since v2.0

    aput_writes

    Asynchronous version of put_writes.

    This method is an asynchronous wrapper around put_writes that runs the synchronous method in a separate thread using asyncio.

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

    Parameters

    NameTypeDescription
    config*RunnableConfig

    The config to associate with the writes.

    writes*Sequence[tuple[str, Any]]

    The writes to save, each as a (channel, value) pair.

    task_id*str

    Identifier for the task creating the writes.

    task_pathstr
    Default:''

    Path of the task creating the writes.

    View source on GitHub