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

Method set

aleph/cache.py:26–28  ·  view source on GitHub ↗
(self, key, value, expires=None)

Source from the content-addressed store, hash-verified

24 return self.key(clazz.__name__, key, *parts)
25
26 def set(self, key, value, expires=None):
27 expires = expires or self.expires
28 self.kv.set(key, value, ex=expires)
29
30 def set_complex(self, key, value, expires=None):
31 value = json.dumps(value, cls=JSONEncoder)

Callers 7

set_complexMethod · 0.95
to_proxyMethod · 0.45
updateMethod · 0.45
oauth_callbackFunction · 0.45
sanitize_htmlFunction · 0.45
_query_mentionsFunction · 0.45
compute_collectionFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected