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

Function _folder

unit-tests/test_thycotic_interactive_folder_picker.py:10–14  ·  view source on GitHub ↗
(folder_id, name, parent=-1, with_path=True)

Source from the content-addressed store, hash-verified

8
9
10def _folder(folder_id, name, parent=-1, with_path=True):
11 folder = {'id': folder_id, 'folderName': name, 'parentFolderId': parent, 'inheritPermissions': True}
12 if with_path:
13 folder['folderPath'] = '\\' + name
14 return folder
15
16
17def _secret(secret_id, folder_id):

Calls

no outgoing calls

Tested by

no test coverage detected