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 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 CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    Language
    Theme
    PythonlanggraphwarningsLangGraphDeprecationWarning
    Class●Since v0.5

    LangGraphDeprecationWarning

    A LangGraph specific deprecation warning.

    Copy
    LangGraphDeprecationWarning(
      self,
      message: str,
      *args: object = (),
      since: tuple[int, int],
      expected_removal: tuple[int, int] | None = None
    )

    Bases

    DeprecationWarning

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

    Constructors

    constructor
    __init__
    NameType
    messagestr
    sincetuple[int, int]
    expected_removaltuple[int, int] | None

    Attributes

    attribute
    message: str
    attribute
    since: tuple[int, int]
    attribute
    expected_removal: tuple[int, int]
    View source on GitHub