LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • 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

    LangGraph Checkpoint
    LangGraph Store
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    Language
    Theme
    Pythonlanggraph-sdkstreamdecodersSubgraphsDecoder
    Class●Since v0.4

    SubgraphsDecoder

    Copy
    SubgraphsDecoder(
      self,
      scope: tuple[str, ...],
      handle_factory: Callable[..

    Constructors

    Methods

    View source on GitHub
    .
    ,
    Any
    ]
    )

    Parameters

    NameTypeDescription
    scope*tuple[str, ...]
    handle_factory*Callable[..., Any]
    constructor
    __init__
    NameType
    scopetuple[str, ...]
    handle_factoryCallable[..., Any]
    method
    feed

    Discovers child subgraph handles and fans out events to active ones.

    Mirrors the per-event body of _SubgraphsProjection._subgraphs_iter (_async/stream.py:963-1041) plus _apply_tasks_result. Root-inbox forwarding and terminal-status-on-close stay at the projection / wrapper layer.

    Tuple-form namespace of this decoder's parent. () for root.

    Keyword-only (path, graph_name, trigger_call_id) -> handle.