fix(cache): clean up duplicate docstring in async_get_ttl

This commit is contained in:
Siraj637909 2026-08-18 21:31:56 +05:30
parent 0b2c69be64
commit 07396cf07d

View file

@ -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