MCPcopy Create free account
hub / github.com/WebODM/WebODM / get_datum

Method get_datum

app/plugins/data_store.py:20–21  ·  view source on GitHub ↗
(self, key)

Source from the content-addressed store, hash-verified

18 return "{}::{}".format(self.namespace, key)
19
20 def get_datum(self, key):
21 return PluginDatum.objects.filter(key=self.db_key(key), user=self.user).first()
22
23 def set_value(self, type, key, value):
24 try:

Callers 3

get_valueMethod · 0.95
has_keyMethod · 0.95
del_keyMethod · 0.95

Calls 2

db_keyMethod · 0.95
firstMethod · 0.80

Tested by

no test coverage detected