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

Method get

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

Source from the content-addressed store, hash-verified

276 self.d = {}
277
278 def get(self, key):
279 return self.d.get(key)
280
281 def set(self, key, value, expires=0):
282 self.d[key] = value

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected