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 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
    PythonlanggraphtypesInterrupt
    Class●Since v0.2

    Interrupt

    Information about an interrupt that occurred in a node.

    Changed in version v0.4.0
    • interrupt_id was introduced as a property
    Changed in version v0.6.0

    The following attributes have been removed:

    • ns
    • when
    • resumable
    • interrupt_id, deprecated in favor of id
    Copy
    Interrupt(
      self,
      value: Any,
      id: str = _DEFAULT_INTERRUPT_ID,
      **deprecated_kwargs: Unpack[DeprecatedKwargs] = {}
    )

    Used in Docs

    • Streaming

    Constructors

    constructor
    __init__
    NameType
    valueAny
    idstr

    Attributes

    attribute
    value: Any

    The value associated with the interrupt.

    attribute
    id: str

    The ID of the interrupt. Can be used to resume the interrupt directly.

    attribute
    interrupt_id: str

    Methods

    method
    from_ns
    View source on GitHub