MCPcopy Create free account
hub / github.com/BerriAI/litellm / batch_get_cache

Method batch_get_cache

litellm/caching/in_memory_cache.py:219–224  ·  view source on GitHub ↗
(self, keys: list, **kwargs)

Source from the content-addressed store, hash-verified

217 return None
218
219 def batch_get_cache(self, keys: list, **kwargs):
220 return_val = []
221 for k in keys:
222 val = self.get_cache(key=k, **kwargs)
223 return_val.append(val)
224 return return_val
225
226 def increment_cache(self, key, value: int, **kwargs) -> int:
227 # get the value

Callers

nothing calls this directly

Calls 2

get_cacheMethod · 0.95
appendMethod · 0.45

Tested by

no test coverage detected