Method
set
(self, key: str, value: bytes, expire: Optional[int] = None)
Source from the content-addressed store, hash-verified
| 16 | return await self.mcache.get(key.encode()) |
| 17 | |
| 18 | async def set(self, key: str, value: bytes, expire: Optional[int] = None) -> None: |
| 19 | await self.mcache.set(key.encode(), value, exptime=expire or 0) |
| 20 | |
| 21 | async def clear(self, namespace: Optional[str] = None, key: Optional[str] = None) -> int: |
| 22 | raise NotImplementedError |
Callers
nothing calls this directly
Tested by
no test coverage detected