Skip to content
masterclass Buddy

LangGraph · Class

Overwrite

Overwrite replaces a LangGraph channel value without running its reducer. Use it when a normal update would merge data instead of replacing or clearing it.

Last updated

Since
v1.2

Syntax

Overwrite(self, value: Any, type: Literal['__overwrite__'] = '__overwrite__')

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • BinaryOperatorAggregate
  • InvalidUpdateError
  • reducer
  • StateGraph
  • UntrackedValue

Source: Overwrite | langgraph | LangChain Reference. Checked 2026-11-03.