test_amget() — langchain Function Reference
Architecture documentation for the test_amget() function in test_in_memory.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD b45bbd69_1a12_5d36_cfb0_f4e6e085fa6c["test_amget()"] 78341c80_3d5a_da08_2c6f_25554ec126bf["test_in_memory.py"] b45bbd69_1a12_5d36_cfb0_f4e6e085fa6c -->|defined in| 78341c80_3d5a_da08_2c6f_25554ec126bf style b45bbd69_1a12_5d36_cfb0_f4e6e085fa6c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/core/tests/unit_tests/stores/test_in_memory.py lines 50–59
async def test_amget() -> None:
store = InMemoryStore()
await store.amset([("key1", "value1"), ("key2", "value2")])
values = await store.amget(["key1", "key2"])
assert values == ["value1", "value2"]
# Test non-existent key
non_existent_value = await store.amget(["key3"])
assert non_existent_value == [None]
Domain
Subdomains
Source
Frequently Asked Questions
What does test_amget() do?
test_amget() is a function in the langchain codebase, defined in libs/core/tests/unit_tests/stores/test_in_memory.py.
Where is test_amget() defined?
test_amget() is defined in libs/core/tests/unit_tests/stores/test_in_memory.py at line 50.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free