LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
    • Overview
    • Graphs
    • Functional API
    • Pregel
    • Checkpointing
    • Storage
    • Caching
    • Types
    • Runtime
    • Config
    • Errors
    • Constants
    • Channels
    • Agents
    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

    OverviewGraphsFunctional APIPregelCheckpointingStorageCachingTypesRuntimeConfigErrorsConstantsChannelsAgents
    LangGraph Checkpoint
    LangGraph Store
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    Language
    Theme
    Pythonlanggraphpregel_checkpointdelta_channels_overwritten
    Functionā—Since v1.2

    delta_channels_overwritten

    Copy
    delta_channels_overwritten(
      specs: Mapping[str, Any],
      writes: Iterable[tuple[str
    View source on GitHub
    ,
    Any
    ]
    ]
    )
    ->
    set
    [
    str
    ]

    Return the names of the DeltaChannels that writes set with an Overwrite.

    update_state saves a full snapshot of these channels in the checkpoint it creates, like the loop does when a node returns an Overwrite. Otherwise, reading the channel later starts from an older snapshot and replays the writes the Overwrite threw away.