LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • Graphs
  • Functional API
  • Pregel
  • Checkpointing
  • Storage
  • Caching
  • Types
  • Runtime
  • Config
  • Errors
  • Constants
  • Channels
  • Agents
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 CLI
LangGraph SDK
LangGraph Supervisor
LangGraph Swarm
Language
Theme
Pythonlanggraph_internal_scratchpadPregelScratchpad
Class●Since v0.6

PregelScratchpad

Copy
PregelScratchpad(
  self,
  step: int,
  stop: int,
  call_counter: Callable[[], int],
  interrupt_counter: Callable[[], int],
  get_null_resume: Callable[[bool], Any],
  resume: list[Any],
  subgraph_counter: Callable[[], int]
)

Constructors

constructor
__init__
NameType
stepint
stopint
call_counterCallable[[], int]
interrupt_counterCallable[[], int]
get_null_resumeCallable[[bool], Any]
resumelist[Any]
subgraph_counterCallable[[], int]

Attributes

attribute
step: int
attribute
stop: int
attribute
call_counter: Callable[[], int]
attribute
interrupt_counter: Callable[[], int]
attribute
get_null_resume: Callable[[bool], Any]
attribute
resume: list[Any]
attribute
subgraph_counter: Callable[[], int]
View source on GitHub