MCPcopy Create free account
hub / github.com/hugapi/hug / set

Method set

hug/store.py:48–50  ·  view source on GitHub ↗

Set data object for given store key.

(self, key, data)

Source from the content-addressed store, hash-verified

46 return key in self._data
47
48 def set(self, key, data):
49 """Set data object for given store key."""
50 self._data[key] = data
51
52 def delete(self, key):
53 """Delete data for given store key."""

Callers 2

test_stores_genericallyFunction · 0.80
process_responseMethod · 0.80

Calls

no outgoing calls

Tested by 1

test_stores_genericallyFunction · 0.64