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 89745aff_89ed_e657_578a_9b1827a48fd2["test_base.py"] 17a62cb3_fefd_6320_b757_b53bb4a1c661["langchain_core.callbacks"] 89745aff_89ed_e657_578a_9b1827a48fd2 --> 17a62cb3_fefd_6320_b757_b53bb4a1c661 style 89745aff_89ed_e657_578a_9b1827a48fd2 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
from langchain_core.callbacks import __all__
EXPECTED_ALL = {
"RetrieverManagerMixin",
"LLMManagerMixin",
"ChainManagerMixin",
"ToolManagerMixin",
"CallbackManagerMixin",
"RunManagerMixin",
"BaseCallbackHandler",
"AsyncCallbackHandler",
"BaseCallbackManager",
"Callbacks",
}
def test_all_imports() -> None:
assert set(__all__).issuperset(EXPECTED_ALL)
Domain
Subdomains
Functions
Dependencies
- langchain_core.callbacks
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_core.callbacks.
Where is test_base.py in the architecture?
test_base.py is located at libs/langchain/tests/unit_tests/callbacks/test_base.py (domain: LangChainCore, subdomain: LanguageModelBase, directory: libs/langchain/tests/unit_tests/callbacks).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free