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

    Chat LangChain

    What can I help with?

    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.storebasevalidate_op_namespace
    Function●Since v4.3

    validate_op_namespace

    Copy
    validate_op_namespace(
        op: Op,
    ) -> None
    View source on GitHub

    Validate the namespace labels an op carries before a store executes it.

    BaseStore methods check labels before batching, but ops passed directly to batch/abatch skip those methods. Stores that serialize namespaces as delimited text should call this for every op they execute, so a label such as "foo.bar" cannot address the namespace ("foo", "bar").