def moveItems(itemTarFolderDict, vaultClient): moveCollection = VaultSDK.VaultMoveItemList() for itemGUID in itemTarFolderDict: move = VaultSDK.VaultMoveItem(itemGUID, itemTarFolderDict[itemGUID]) moveCollection.Add(move) vaultClient.MoveItems(moveCollection)
def moveItem(itemGUID, folderGUID, vaultClient): move = VaultSDK.VaultMoveItem(itemGUID, folderGUID) vaultClient.MoveItem(move)