test_mset_and_mget() — langchain Function Reference
Architecture documentation for the test_mset_and_mget() function in test_filesystem.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 2b9b98a7_6e77_4516_5114_fe540c5c62f2["test_mset_and_mget()"] dc21888b_994e_4dfd_2387_4da22b01f8de["test_filesystem.py"] 2b9b98a7_6e77_4516_5114_fe540c5c62f2 -->|defined in| dc21888b_994e_4dfd_2387_4da22b01f8de style 2b9b98a7_6e77_4516_5114_fe540c5c62f2 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/langchain/tests/unit_tests/storage/test_filesystem.py lines 20–29
def test_mset_and_mget(file_store: LocalFileStore) -> None:
# Set values for keys
key_value_pairs = [("key1", b"value1"), ("key2", b"value2")]
file_store.mset(key_value_pairs)
# Get values for keys
values = file_store.mget(["key1", "key2"])
# Assert that the retrieved values match the original values
assert values == [b"value1", b"value2"]
Domain
Subdomains
Source
Frequently Asked Questions
What does test_mset_and_mget() do?
test_mset_and_mget() is a function in the langchain codebase, defined in libs/langchain/tests/unit_tests/storage/test_filesystem.py.
Where is test_mset_and_mget() defined?
test_mset_and_mget() is defined in libs/langchain/tests/unit_tests/storage/test_filesystem.py at line 20.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free