MCPcopy Index your code
hub / github.com/liangliangyy/DjangoBlog / set

Method set

servermanager/MemcacheStorage.py:26–28  ·  view source on GitHub ↗
(self, id, value)

Source from the content-addressed store, hash-verified

24 return json_loads(session_json)
25
26 def set(self, id, value):
27 id = self.key_name(id)
28 self.cache.set(id, json_dumps(value))
29
30 def delete(self, id):
31 id = self.key_name(id)

Callers 14

is_availableMethod · 0.95
test_cache_operationsMethod · 0.80
comment_listMethod · 0.80
seo_processorFunction · 0.80
load_sidebarFunction · 0.80
gravatar_urlFunction · 0.80
main.jsFile · 0.80
startFunction · 0.80
doneFunction · 0.80
incFunction · 0.80
set_codeFunction · 0.80
newsFunction · 0.80

Calls 1

key_nameMethod · 0.95

Tested by 1

test_cache_operationsMethod · 0.64