Home / Class/ TestAsyncInMemoryStore Class — langchain Architecture

TestAsyncInMemoryStore Class — langchain Architecture

Architecture documentation for the TestAsyncInMemoryStore class in test_in_memory.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  aeb94661_a2be_9636_45e9_71034948060a["TestAsyncInMemoryStore"]
  5af59884_0fa7_4a22_d092_189a00ad0d87["BaseStoreAsyncTests"]
  aeb94661_a2be_9636_45e9_71034948060a -->|extends| 5af59884_0fa7_4a22_d092_189a00ad0d87
  18a70a30_3cd9_bf6b_3c2f_3319b135a50a["test_in_memory.py"]
  aeb94661_a2be_9636_45e9_71034948060a -->|defined in| 18a70a30_3cd9_bf6b_3c2f_3319b135a50a
  f4fab5d8_464f_3635_5917_08fe0296e1cc["kv_store()"]
  aeb94661_a2be_9636_45e9_71034948060a -->|method| f4fab5d8_464f_3635_5917_08fe0296e1cc
  eec5c354_5192_7c33_f452_9e4ac054526f["three_values()"]
  aeb94661_a2be_9636_45e9_71034948060a -->|method| eec5c354_5192_7c33_f452_9e4ac054526f

Relationship Graph

Source Code

libs/core/tests/unit_tests/stores/test_in_memory.py lines 26–35

class TestAsyncInMemoryStore(BaseStoreAsyncTests):
    @pytest.fixture
    @override
    async def kv_store(self) -> InMemoryStore:
        return InMemoryStore()

    @pytest.fixture
    @override
    def three_values(self) -> tuple[str, str, str]:
        return "value1", "value2", "value3"

Frequently Asked Questions

What is the TestAsyncInMemoryStore class?
TestAsyncInMemoryStore is a class in the langchain codebase, defined in libs/core/tests/unit_tests/stores/test_in_memory.py.
Where is TestAsyncInMemoryStore defined?
TestAsyncInMemoryStore is defined in libs/core/tests/unit_tests/stores/test_in_memory.py at line 26.
What does TestAsyncInMemoryStore extend?
TestAsyncInMemoryStore extends BaseStoreAsyncTests.

Analyze Your Own Codebase

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

Try Supermodel Free