LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
    • Overview
    • Graphs
    • Functional API
    • Pregel
    • Checkpointing
    • Storage
    • Caching
    • Types
    • Runtime
    • Config
    • Errors
    • Constants
    • Channels
    • Agents
    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

    OverviewGraphsFunctional APIPregelCheckpointingStorageCachingTypesRuntimeConfigErrorsConstantsChannelsAgents
    LangGraph Checkpoint
    LangGraph Store
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    Language
    Theme
    PythonlanggraphwarningsLangGraphDeprecationWarning
    Classā—Since v0.5

    LangGraphDeprecationWarning

    Copy
    LangGraphDeprecationWarning(
      self,
      message: str,
      *args: object = (),
      since: tuple

    Bases

    DeprecationWarning

    Constructors

    Attributes

    View source on GitHub
    [
    int
    ,
    int
    ]
    ,
    expected_removal
    :
    tuple
    [
    int
    ,
    int
    ]
    |
    None
    =
    None
    )
    constructor
    __init__
    NameType
    messagestr
    sincetuple[int, int]
    expected_removaltuple[int, int] | None
    attribute
    message: str
    attribute
    since: tuple[int, int]
    attribute
    expected_removal: tuple[int, int]

    A LangGraph specific deprecation warning.

    Inspired by the Pydantic PydanticDeprecationWarning class, which sets a great standard for deprecation warnings with clear versioning information.