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

Method load

keepercommander/storage/sqlite.py:116–117  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

114 raise ValueError(f'SqliteRecordStorage: Schema \"{schema.table_name}\" should not have primary key')
115
116 def load(self):
117 return next(self.select_all(), None)
118
119 def store(self, record):
120 self.put([record])

Callers

nothing calls this directly

Calls 1

select_allMethod · 0.80

Tested by

no test coverage detected