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

Method db_key

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

Source from the content-addressed store, hash-verified

15 self.user = user
16
17 def db_key(self, key):
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()

Callers 2

get_datumMethod · 0.95
set_valueMethod · 0.95

Calls 1

formatMethod · 0.45

Tested by

no test coverage detected