test_mdelete() — langchain Function Reference
Architecture documentation for the test_mdelete() function in test_in_memory.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 051f7eb0_69da_4e48_9482_645efbde4b2f["test_mdelete()"] 18a70a30_3cd9_bf6b_3c2f_3319b135a50a["test_in_memory.py"] 051f7eb0_69da_4e48_9482_645efbde4b2f -->|defined in| 18a70a30_3cd9_bf6b_3c2f_3319b135a50a style 051f7eb0_69da_4e48_9482_645efbde4b2f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/core/tests/unit_tests/stores/test_in_memory.py lines 78–88
def test_mdelete() -> None:
store = InMemoryStore()
store.mset([("key1", "value1"), ("key2", "value2")])
store.mdelete(["key1"])
values = store.mget(["key1", "key2"])
assert values == [None, "value2"]
# Test deleting non-existent key
store.mdelete(["key3"]) # No error should be raised
Domain
Subdomains
Source
Frequently Asked Questions
What does test_mdelete() do?
test_mdelete() is a function in the langchain codebase, defined in libs/core/tests/unit_tests/stores/test_in_memory.py.
Where is test_mdelete() defined?
test_mdelete() is defined in libs/core/tests/unit_tests/stores/test_in_memory.py at line 78.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free