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-sdksse
    Module●Since v0.1

    sse

    Adapted from httpx_sse to split lines on , , per the SSE spec.

    Functions

    function
    aiter_lines_raw
    function
    iter_lines_raw

    Classes

    class
    StreamPart

    Represents a part of a stream response.

    class
    BytesLineDecoder

    Handles incrementally reading lines from text.

    Has the same behaviour as the stdllib bytes splitlines, but handling the input iteratively.

    class
    SSEDecoder

    Type Aliases

    typeAlias
    BytesLike
    View source on GitHub