Home / Function/ surface_langchain_deprecation_warnings() — langchain Function Reference

surface_langchain_deprecation_warnings() — langchain Function Reference

Architecture documentation for the surface_langchain_deprecation_warnings() function in deprecation.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  a9d22005_c59a_4882_5bfc_8a27ff67db5b["surface_langchain_deprecation_warnings()"]
  98510f56_df86_b6af_abf1_eae492ec09a7["deprecation.py"]
  a9d22005_c59a_4882_5bfc_8a27ff67db5b -->|defined in| 98510f56_df86_b6af_abf1_eae492ec09a7
  style a9d22005_c59a_4882_5bfc_8a27ff67db5b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/core/langchain_core/_api/deprecation.py lines 538–548

def surface_langchain_deprecation_warnings() -> None:
    """Unmute LangChain deprecation warnings."""
    warnings.filterwarnings(
        "default",
        category=LangChainPendingDeprecationWarning,
    )

    warnings.filterwarnings(
        "default",
        category=LangChainDeprecationWarning,
    )

Domain

Subdomains

Frequently Asked Questions

What does surface_langchain_deprecation_warnings() do?
surface_langchain_deprecation_warnings() is a function in the langchain codebase, defined in libs/core/langchain_core/_api/deprecation.py.
Where is surface_langchain_deprecation_warnings() defined?
surface_langchain_deprecation_warnings() is defined in libs/core/langchain_core/_api/deprecation.py at line 538.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free