MCPcopy
hub / github.com/isso-comments/isso / loads

Method loads

isso/utils/cache.py:27–34  ·  view source on GitHub ↗
(self, bvalue)

Source from the content-addressed store, hash-verified

25 return serialized
26
27 def loads(self, bvalue):
28 try:
29 data = pickle.loads(bvalue)
30 except pickle.PickleError as e:
31 self._warn(e)
32 return None
33 else:
34 return data
35
36
37class SimpleSerializer(BaseSerializer):

Callers 6

unsignMethod · 0.80
getMethod · 0.80
get_jsonMethod · 0.80
testModerateCommentMethod · 0.80
loadsFunction · 0.80
test_errorhandlerMethod · 0.80

Calls

no outgoing calls

Tested by 2

testModerateCommentMethod · 0.64
test_errorhandlerMethod · 0.64