MCPcopy
hub / github.com/langchain-ai/langchain / mset

Method mset

libs/core/langchain_core/stores.py:111–116  ·  view source on GitHub ↗

Set the values for the given keys. Args: key_value_pairs (Sequence[Tuple[K, V]]): A sequence of key-value pairs.

(self, key_value_pairs: Sequence[Tuple[K, V]])

Source from the content-addressed store, hash-verified

109
110 @abstractmethod
111 def mset(self, key_value_pairs: Sequence[Tuple[K, V]]) -> None:
112 """Set the values for the given keys.
113
114 Args:
115 key_value_pairs (Sequence[Tuple[K, V]]): A sequence of key-value pairs.
116 """
117
118 async def amset(self, key_value_pairs: Sequence[Tuple[K, V]]) -> None:
119 """Async set the values for the given keys.

Callers 15

add_documentsFunction · 0.45
add_documentsFunction · 0.45
add_documentsFunction · 0.45
chain.pyFile · 0.45
add_documentsFunction · 0.45
test_mgetFunction · 0.45
test_msetFunction · 0.45
test_mdeleteFunction · 0.45
test_yield_keysFunction · 0.45
test_delete_valuesMethod · 0.45

Calls

no outgoing calls

Tested by 11

test_mgetFunction · 0.36
test_msetFunction · 0.36
test_mdeleteFunction · 0.36
test_yield_keysFunction · 0.36
test_delete_valuesMethod · 0.36
test_yield_keysMethod · 0.36