Delete a key-val pair from the KV store
(self, key: str)
| 160 | return await self.request(Put(key, val)) |
| 161 | |
| 162 | async def delete(self, key: str) -> None: |
| 163 | """Delete a key-val pair from the KV store""" |
| 164 | return await self.request(Del(key)) |
| 165 | |
| 166 | async def list_keys(self) -> list[str]: |
| 167 | """List all keys in the KV store""" |