mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-08 22:21:35 +00:00
add doc string to explain what delete cache does
This commit is contained in:
parent
670bf1b98d
commit
677db38f8b
1 changed files with 3 additions and 0 deletions
|
|
@ -1668,6 +1668,9 @@ class DualCache(BaseCache):
|
|||
self.redis_cache.flush_cache()
|
||||
|
||||
def delete_cache(self, key):
|
||||
"""
|
||||
Delete a key from the cache
|
||||
"""
|
||||
if self.in_memory_cache is not None:
|
||||
self.in_memory_cache.delete_cache(key)
|
||||
if self.redis_cache is not None:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue