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

    Chat LangChain

    What can I help with?

    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.sqlite_deltastep_walk_with_row
    Function●Since v3.1

    step_walk_with_row

    Process one streamed stage-1 row in the merged ancestor walk.

    The cursor returns (cid, type, blob) rows in walk order starting at target. The first row is target itself and is skipped (target's own writes/seed are not part of the contract).

    For each subsequent row we deserialize the blob, append the cid to every not-yet-seeded channel's chain, and check channel_values for seeds. The deserialized checkpoint is dropped before advancing — no cross-row cache, so peak in-flight is one deserialized checkpoint.

    Returns True when the caller can stop iterating and close the cursor: every requested channel is seeded, or the chain revisited a checkpoint.

    Copy
    step_walk_with_row(
      *,
      cid: str,
      type_tag: str,
      blob: bytes,
      target_id: str,
      serde: Any,
      chain_by_ch: dict[str, list[str]],
      seed_val_by_ch: dict[str, Any],
      walk_state: dict[str, Any],
      seeded: set[str],
      channels: Sequence[str]
    ) -> bool
    View source on GitHub