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-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
    class
    BytesLineDecoder
    class
    SSEDecoder

    Type Aliases

    typeAlias
    BytesLike
    View source on GitHub

    Represents a part of a stream response.

    Handles incrementally reading lines from text.

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