MCPcopy Index your code
hub / github.com/WebODM/WebODM / set_string

Method set_string

app/plugins/data_store.py:42–43  ·  view source on GitHub ↗
(self, key, value)

Source from the content-addressed store, hash-verified

40 return self.get_value('string', key, default)
41
42 def set_string(self, key, value):
43 return self.set_value('string', key, value)
44
45 def get_int(self, key, default=0):
46 return self.get_value('int', key, default)

Callers 8

saveFunction · 0.80
homeMethod · 0.80
update_tokenFunction · 0.80
save_api_keyMethod · 0.80
viewFunction · 0.80
saveFunction · 0.80
postMethod · 0.80
test_plugin_datastoreMethod · 0.80

Calls 1

set_valueMethod · 0.95

Tested by 1

test_plugin_datastoreMethod · 0.64