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

Method __init__

keepercommander/shared_record.py:86–100  ·  view source on GitHub ↗
(self, sp_types=None)

Source from the content-addressed store, hash-verified

84 bits_text_lookup = {(1 << 0): 'Edit', (1 << 1): 'Share'}
85
86 def __init__(self, sp_types=None):
87 self.to_uid = ''
88 self.to_name = ''
89 self.can_edit = False
90 self.can_share = False
91 self.can_view = True
92 self.expiration = 0
93 self.folder_path = ''
94 self.types = set()
95 self.bits = 0
96 self.is_admin = False
97 self.team_members = dict()
98 self.user_perms: Dict[str, SharePermissions] = {}
99 self.team_perms: Dict[str, SharePermissions] = {}
100 self.update_types(sp_types)
101
102 def update_types(self, sp_types):
103 if sp_types is not None:

Callers

nothing calls this directly

Calls 1

update_typesMethod · 0.95

Tested by

no test coverage detected