Home / Function/ test_mset() — langchain Function Reference

test_mset() — langchain Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  70153be7_ca0d_94b3_c646_1e1ec44728f4["test_mset()"]
  78341c80_3d5a_da08_2c6f_25554ec126bf["test_in_memory.py"]
  70153be7_ca0d_94b3_c646_1e1ec44728f4 -->|defined in| 78341c80_3d5a_da08_2c6f_25554ec126bf
  style 70153be7_ca0d_94b3_c646_1e1ec44728f4 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/core/tests/unit_tests/stores/test_in_memory.py lines 62–67

def test_mset() -> None:
    store = InMemoryStore()
    store.mset([("key1", "value1"), ("key2", "value2")])

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

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free