MCPcopy Create free account
hub / github.com/internetarchive/openlibrary / delete

Method delete

openlibrary/core/cache.py:287–288  ·  view source on GitHub ↗
(self, key)

Source from the content-addressed store, hash-verified

285 return self.d.setdefault(key, value) is value
286
287 def delete(self, key):
288 return self.d.pop(key, None) is not None
289
290 def clear(self):
291 self.d.clear()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected