MCPcopy
hub / github.com/msgspec/msgspec / delete

Method delete

examples/asyncio-kv/kv.py:162–164  ·  view source on GitHub ↗

Delete a key-val pair from the KV store

(self, key: str)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

requestMethod · 0.95
DelClass · 0.85

Tested by

no test coverage detected