MCPcopy Create free account
hub / github.com/alephdata/aleph / get_complex

Method get_complex

aleph/cache.py:44–47  ·  view source on GitHub ↗
(self, key)

Source from the content-addressed store, hash-verified

42 return self.kv.get(key)
43
44 def get_complex(self, key):
45 value = self.get(key)
46 if value is not None:
47 return json.loads(value)
48
49 def get_many_complex(self, keys, default=None):
50 if not len(keys):

Callers 7

from_tokenMethod · 0.80
statisticsFunction · 0.80
oauth_callbackFunction · 0.80
get_collectionFunction · 0.80
get_collection_thingsFunction · 0.80
get_roleFunction · 0.80
get_profileFunction · 0.80

Calls 1

getMethod · 0.95

Tested by

no test coverage detected