Home / Function/ test_amset() — langchain Function Reference

test_amset() — langchain Function Reference

Architecture documentation for the test_amset() function in test_in_memory.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  340374fa_9734_9e9b_1275_7ac633fb0c61["test_amset()"]
  18a70a30_3cd9_bf6b_3c2f_3319b135a50a["test_in_memory.py"]
  340374fa_9734_9e9b_1275_7ac633fb0c61 -->|defined in| 18a70a30_3cd9_bf6b_3c2f_3319b135a50a
  style 340374fa_9734_9e9b_1275_7ac633fb0c61 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/core/tests/unit_tests/stores/test_in_memory.py lines 70–75

async def test_amset() -> None:
    store = InMemoryStore()
    await store.amset([("key1", "value1"), ("key2", "value2")])

    values = await store.amget(["key1", "key2"])
    assert values == ["value1", "value2"]

Subdomains

Frequently Asked Questions

What does test_amset() do?
test_amset() is a function in the langchain codebase, defined in libs/core/tests/unit_tests/stores/test_in_memory.py.
Where is test_amset() defined?
test_amset() is defined in libs/core/tests/unit_tests/stores/test_in_memory.py at line 70.

Analyze Your Own Codebase

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

Try Supermodel Free