Home / File/ test_schemas.py — langchain Source File

test_schemas.py — langchain Source File

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

Entity Profile

Dependency Diagram

graph LR
  ea0ef488_6012_f139_5741_df68708daa93["test_schemas.py"]
  2b6e6b96_8f94_4170_1803_67a415a5e13a["langchain_core.tracers"]
  ea0ef488_6012_f139_5741_df68708daa93 --> 2b6e6b96_8f94_4170_1803_67a415a5e13a
  17e2fb09_6b0f_338f_1319_77bc43602969["langchain_core.tracers.schemas"]
  ea0ef488_6012_f139_5741_df68708daa93 --> 17e2fb09_6b0f_338f_1319_77bc43602969
  style ea0ef488_6012_f139_5741_df68708daa93 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

from langchain_core.tracers import schemas
from langchain_core.tracers.schemas import __all__ as schemas_all


def test_public_api() -> None:
    """Test for changes in the public API."""
    expected_all = [
        "Run",
    ]

    assert sorted(schemas_all) == expected_all

    # Assert that the object is actually present in the schema module
    for module_name in expected_all:
        assert hasattr(schemas, module_name)
        assert getattr(schemas, module_name) is not None

Subdomains

Functions

Dependencies

  • langchain_core.tracers
  • langchain_core.tracers.schemas

Frequently Asked Questions

What does test_schemas.py do?
test_schemas.py is a source file in the langchain codebase, written in python. It belongs to the CoreAbstractions domain, RunnableInterface subdomain.
What functions are defined in test_schemas.py?
test_schemas.py defines 1 function(s): test_public_api.
What does test_schemas.py depend on?
test_schemas.py imports 2 module(s): langchain_core.tracers, langchain_core.tracers.schemas.
Where is test_schemas.py in the architecture?
test_schemas.py is located at libs/core/tests/unit_tests/tracers/test_schemas.py (domain: CoreAbstractions, subdomain: RunnableInterface, directory: libs/core/tests/unit_tests/tracers).

Analyze Your Own Codebase

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

Try Supermodel Free