Home / Class/ _MockSchema Class — langchain Architecture

_MockSchema Class — langchain Architecture

Architecture documentation for the _MockSchema class in test_tools.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  3915edae_d9a0_a020_7fe4_1effe1d917a8["_MockSchema"]
  8e7836ae_e72c_f670_72a5_4ca6d46e3555["test_tools.py"]
  3915edae_d9a0_a020_7fe4_1effe1d917a8 -->|defined in| 8e7836ae_e72c_f670_72a5_4ca6d46e3555

Relationship Graph

Source Code

libs/core/tests/unit_tests/test_tools.py lines 109–114

class _MockSchema(BaseModel):
    """Return the arguments directly."""

    arg1: int
    arg2: bool
    arg3: dict | None = None

Frequently Asked Questions

What is the _MockSchema class?
_MockSchema is a class in the langchain codebase, defined in libs/core/tests/unit_tests/test_tools.py.
Where is _MockSchema defined?
_MockSchema is defined in libs/core/tests/unit_tests/test_tools.py at line 109.

Analyze Your Own Codebase

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

Try Supermodel Free