mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-10 03:28:53 +00:00
fix(cache): clean up duplicate docstring in async_get_ttl
This commit is contained in:
parent
0b2c69be64
commit
07396cf07d
1 changed files with 0 additions and 2 deletions
|
|
@ -265,8 +265,6 @@ class InMemoryCache(BaseCache):
|
|||
|
||||
async def async_get_ttl(self, key: str) -> int | None:
|
||||
"""Get the remaining TTL of a key in in-memory cache"""
|
||||
Get the remaining TTL of a key in in-memory cache
|
||||
"""
|
||||
expiry = self.ttl_dict.get(key, None)
|
||||
if expiry is None:
|
||||
return None
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue