MCPcopy Create free account
hub / github.com/Keeper-Security/Commander / get_entity

Method get_entity

keepercommander/storage/sqlite.py:27–29  ·  view source on GitHub ↗
(self, uid)

Source from the content-addressed store, hash-verified

25 raise ValueError(f'SqliteEntityStorage: Primary key to have one column.')
26
27 def get_entity(self, uid):
28 results = list(self.select_by_filter(self.schema.primary_key, [uid]))
29 return results[0] if results else None
30
31 def get_entities(self, pk_values):
32 for value in pk_values:

Callers 1

get_entitiesMethod · 0.95

Calls 1

select_by_filterMethod · 0.80

Tested by

no test coverage detected