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

Method display

keepercommander/subfolder.py:322–334  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

320 )
321
322 def display(self):
323 print('')
324 if self.type == BaseFolderNode.NestedShareFolderType:
325 uid_label = 'Nested Share Folder UID'
326 else:
327 uid_label = 'Folder UID'
328 print('{0:>25s}: {1:<20s}'.format(uid_label, self.uid))
329 print('{0:>25s}: {1:<20s}'.format('Folder Type', self.get_folder_type()))
330 print('{0:>25s}: {1}'.format('Name', self.name))
331 if self.parent_uid:
332 print('{0:>25s}: {1:<20s}'.format('Parent Folder UID', self.parent_uid))
333 if isinstance(self, SharedFolderFolderNode):
334 print('{0:>25s}: {1:<20s}'.format('Shared Folder UID', self.shared_folder_uid))
335
336
337class UserFolderNode(BaseFolderNode):

Callers

nothing calls this directly

Calls 2

get_folder_typeMethod · 0.95
formatMethod · 0.80

Tested by

no test coverage detected