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
    Pythonlanggraph_internal_scratchpadPregelScratchpad
    Class●Since v0.6

    PregelScratchpad

    Copy
    PregelScratchpad(
      self,
      step: int,
      stop: int,
      call_counter: Callable[[]

    Constructors

    Attributes

    View source on GitHub
    ,
    int
    ]
    ,
    interrupt_counter
    :
    Callable
    [
    [
    ]
    ,
    int
    ]
    ,
    get_null_resume
    :
    Callable
    [
    [
    bool
    ]
    ,
    Any
    ]
    ,
    resume
    :
    list
    [
    Any
    ]
    ,
    subgraph_counter
    :
    Callable
    [
    [
    ]
    ,
    int
    ]
    )
    constructor
    __init__
    NameType
    stepint
    stopint
    call_counterCallable[[], int]
    interrupt_counterCallable[[], int]
    get_null_resumeCallable[[bool], Any]
    resumelist[Any]
    subgraph_counterCallable[[], int]
    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]