(self, key: str)
| 10 | self.mcache = mcache |
| 11 | |
| 12 | async def get_with_ttl(self, key: str) -> Tuple[int, Optional[bytes]]: |
| 13 | return 3600, await self.get(key) |
| 14 | |
| 15 | async def get(self, key: str) -> Optional[bytes]: |
| 16 | return await self.mcache.get(key.encode()) |