LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • LangGraph Checkpoint
    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
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    Language
    Theme
    Pythonlanggraph-sdkschemaMessagesTupleStreamPart
    Class●Since v0.3

    MessagesTupleStreamPart

    Copy
    MessagesTupleStreamPart()

    Bases

    TypedDict

    Constructors

    Attributes

    View source on GitHub
    constructor
    __init__
    NameType
    typeLiteral['messages']
    nslist[str]
    datalist[dict[str, Any]]
    attribute
    type: Literal['messages']

    Stream part type discriminator.

    attribute
    ns: list[str]

    Namespace path of the emitting node (empty for root graph).

    attribute
    data: list[dict[str, Any]]

    Two-element list of [message_dict, metadata_dict].

    Stream part emitted for stream_mode="messages" (raw message+metadata pair).