Home / Class/ TestInMemoryStore Class — langchain Architecture

TestInMemoryStore Class — langchain Architecture

Architecture documentation for the TestInMemoryStore class in test_in_memory_base_store.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  3fc97653_65c9_df84_4231_4b1f57c61419["TestInMemoryStore"]
  f7d323cd_b9da_3a0f_ca41_dcf729639635["test_in_memory_base_store.py"]
  3fc97653_65c9_df84_4231_4b1f57c61419 -->|defined in| f7d323cd_b9da_3a0f_ca41_dcf729639635
  4a9d9c4f_8e3f_0741_7005_084d77612eca["three_values()"]
  3fc97653_65c9_df84_4231_4b1f57c61419 -->|method| 4a9d9c4f_8e3f_0741_7005_084d77612eca
  acb330ca_b65d_3550_08bb_c5e3a83bf3a4["kv_store()"]
  3fc97653_65c9_df84_4231_4b1f57c61419 -->|method| acb330ca_b65d_3550_08bb_c5e3a83bf3a4

Relationship Graph

Source Code

libs/standard-tests/tests/unit_tests/test_in_memory_base_store.py lines 13–22

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()

Frequently Asked Questions

What is the TestInMemoryStore class?
TestInMemoryStore is a class in the langchain codebase, defined in libs/standard-tests/tests/unit_tests/test_in_memory_base_store.py.
Where is TestInMemoryStore defined?
TestInMemoryStore is defined in libs/standard-tests/tests/unit_tests/test_in_memory_base_store.py at line 13.

Analyze Your Own Codebase

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

Try Supermodel Free