test_in_memory_base_store.py — langchain Source File
Architecture documentation for test_in_memory_base_store.py, a python file in the langchain codebase. 4 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR f7d323cd_b9da_3a0f_ca41_dcf729639635["test_in_memory_base_store.py"] f69d6389_263d_68a4_7fbf_f14c0602a9ba["pytest"] f7d323cd_b9da_3a0f_ca41_dcf729639635 --> f69d6389_263d_68a4_7fbf_f14c0602a9ba 18bf18ce_a804_12d4_efe2_700bc6c22630["langchain_core.stores"] f7d323cd_b9da_3a0f_ca41_dcf729639635 --> 18bf18ce_a804_12d4_efe2_700bc6c22630 f85fae70_1011_eaec_151c_4083140ae9e5["typing_extensions"] f7d323cd_b9da_3a0f_ca41_dcf729639635 --> f85fae70_1011_eaec_151c_4083140ae9e5 688cbebb_da5f_c2ce_7066_d751183752a3["langchain_tests.integration_tests.base_store"] f7d323cd_b9da_3a0f_ca41_dcf729639635 --> 688cbebb_da5f_c2ce_7066_d751183752a3 style f7d323cd_b9da_3a0f_ca41_dcf729639635 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
"""Tests for the InMemoryStore class."""
import pytest
from langchain_core.stores import InMemoryStore
from typing_extensions import override
from langchain_tests.integration_tests.base_store import (
BaseStoreAsyncTests,
BaseStoreSyncTests,
)
class TestInMemoryStore(BaseStoreSyncTests[str]):
@pytest.fixture
@override
def three_values(self) -> tuple[str, str, str]:
return "foo", "bar", "buzz"
@pytest.fixture
@override
def kv_store(self) -> InMemoryStore:
return InMemoryStore()
class TestInMemoryStoreAsync(BaseStoreAsyncTests[str]):
@pytest.fixture
@override
def three_values(self) -> tuple[str, str, str]:
return "foo", "bar", "buzz"
@pytest.fixture
@override
async def kv_store(self) -> InMemoryStore:
return InMemoryStore()
Domain
Subdomains
Dependencies
- langchain_core.stores
- langchain_tests.integration_tests.base_store
- pytest
- typing_extensions
Source
Frequently Asked Questions
What does test_in_memory_base_store.py do?
test_in_memory_base_store.py is a source file in the langchain codebase, written in python. It belongs to the LangChainCore domain, Runnables subdomain.
What does test_in_memory_base_store.py depend on?
test_in_memory_base_store.py imports 4 module(s): langchain_core.stores, langchain_tests.integration_tests.base_store, pytest, typing_extensions.
Where is test_in_memory_base_store.py in the architecture?
test_in_memory_base_store.py is located at libs/standard-tests/tests/unit_tests/test_in_memory_base_store.py (domain: LangChainCore, subdomain: Runnables, directory: libs/standard-tests/tests/unit_tests).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free