Home / File/ __init__.py — langchain Source File

__init__.py — langchain Source File

Architecture documentation for __init__.py, a python file in the langchain codebase. 2 imports, 0 dependents.

File python 2 imports

Entity Profile

Dependency Diagram

graph LR
  66a3dda0_646d_278a_31d1_b735e8895836["__init__.py"]
  a1cf359b_dc20_be00_cf73_e72d60eab3d2["langchain_classic._api.deprecation"]
  66a3dda0_646d_278a_31d1_b735e8895836 --> a1cf359b_dc20_be00_cf73_e72d60eab3d2
  08178bdb_6c65_826c_3c07_1e849fcde175["langchain_classic._api.module_import"]
  66a3dda0_646d_278a_31d1_b735e8895836 --> 08178bdb_6c65_826c_3c07_1e849fcde175
  style 66a3dda0_646d_278a_31d1_b735e8895836 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

"""Helper functions for managing the LangChain API.

This module is only relevant for LangChain developers, not for users.

!!! warning

    This module and its submodules are for internal use only. Do not use them in your
    own code.  We may change the API at any time with no warning.

"""

from langchain_classic._api.deprecation import (
    LangChainDeprecationWarning,
    deprecated,
    suppress_langchain_deprecation_warning,
    surface_langchain_deprecation_warnings,
    warn_deprecated,
)
from langchain_classic._api.module_import import create_importer

__all__ = [
    "LangChainDeprecationWarning",
    "create_importer",
    "deprecated",
    "suppress_langchain_deprecation_warning",
    "surface_langchain_deprecation_warnings",
    "warn_deprecated",
]

Dependencies

  • langchain_classic._api.deprecation
  • langchain_classic._api.module_import

Frequently Asked Questions

What does __init__.py do?
__init__.py is a source file in the langchain codebase, written in python.
What does __init__.py depend on?
__init__.py imports 2 module(s): langchain_classic._api.deprecation, langchain_classic._api.module_import.
Where is __init__.py in the architecture?
__init__.py is located at libs/langchain/langchain_classic/_api/__init__.py (directory: libs/langchain/langchain_classic/_api).

Analyze Your Own Codebase

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

Try Supermodel Free