MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / set

Method set

monkey/monkey.py:123–125  ·  view source on GitHub ↗
(self, key, val, callback = default_result_handler)

Source from the content-addressed store, hash-verified

121
122 # Public Methods
123 def set(self, key, val, callback = default_result_handler):
124 self.buf += _buildResp("set", key, val)
125 self.callbacks.append(callback)
126
127 def lpush(self, key, val, callback = default_result_handler):
128 self.buf += _buildResp("lpush", key, val)

Callers 4

testitFunction · 0.45
handle_set_responseFunction · 0.45
configSetCommandFunction · 0.45

Calls 2

_buildRespFunction · 0.85
appendMethod · 0.80

Tested by 1

testitFunction · 0.36