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

Method load_users

keepercommander/sox/sox_data.py:206–209  ·  view source on GitHub ↗
(store)

Source from the content-addressed store, hash-verified

204 return user_lookup
205
206 def load_users(store): # type: (sqlite_storage.SqliteSoxStorage) -> Dict[int, sox_types.EnterpriseUser]
207 users = [sox_types.EnterpriseUser.load(eu, decrypt_fn=decrypt) for eu in store.users.get_all()]
208 u_lookup = {user.user_uid: user for user in users}
209 return link_user_records(store, u_lookup)
210
211 def load_teams(store):
212 teams = [sox_types.Team.load(entity) for entity in store.teams.get_all()]

Callers

nothing calls this directly

Calls 2

get_allMethod · 0.80
loadMethod · 0.45

Tested by

no test coverage detected