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-sdkstreamsubscriptionfilter_covers
    Function●Since v0.3

    filter_covers

    Copy
    filter_covers(
        coverer: dict[str, Any],
        target: dict[str, Any
    View source on GitHub
    ]
    ,
    )
    ->
    bool

    Whether coverer is a superset of target.

    Direct port of client/stream/index.ts:filterCovers. Depth coverage accounts for namespace-prefix offset: a scoped coverer needs enough depth to absorb the extra levels of any deeper target namespace prefix.