Get a key from the KV store, returning None if not present
(self, key: str)
| 152 | return msgspec.msgpack.decode(buffer) |
| 153 | |
| 154 | async def get(self, key: str) -> str | None: |
| 155 | """Get a key from the KV store, returning None if not present""" |
| 156 | return await self.request(Get(key)) |
| 157 | |
| 158 | async def put(self, key: str, val: str) -> None: |
| 159 | """Put a key-val pair in the KV store""" |