test_base.py — langchain Source File
Architecture documentation for test_base.py, a python file in the langchain codebase. 1 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR b9c10dff_ee02_6163_24d0_bcada18d2ad4["test_base.py"] 24f7d5ee_41b7_5dfc_91a1_67ad39322ef0["langchain_classic.tools.base"] b9c10dff_ee02_6163_24d0_bcada18d2ad4 --> 24f7d5ee_41b7_5dfc_91a1_67ad39322ef0 style b9c10dff_ee02_6163_24d0_bcada18d2ad4 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
from langchain_classic.tools.base import __all__
EXPECTED_ALL = [
"BaseTool",
"SchemaAnnotationError",
"StructuredTool",
"Tool",
"ToolException",
"create_schema_from_function",
"tool",
]
def test_all_imports() -> None:
assert set(__all__) == set(EXPECTED_ALL)
Domain
Subdomains
Functions
Dependencies
- langchain_classic.tools.base
Source
Frequently Asked Questions
What does test_base.py do?
test_base.py is a source file in the langchain codebase, written in python. It belongs to the LangChainCore domain, LanguageModelBase subdomain.
What functions are defined in test_base.py?
test_base.py defines 1 function(s): test_all_imports.
What does test_base.py depend on?
test_base.py imports 1 module(s): langchain_classic.tools.base.
Where is test_base.py in the architecture?
test_base.py is located at libs/langchain/tests/unit_tests/tools/test_base.py (domain: LangChainCore, subdomain: LanguageModelBase, directory: libs/langchain/tests/unit_tests/tools).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free