'Provide a view for a list of backups.'

def _list_view(self, func, request, backups, backup_count):

    backups_list = [func(request, backup)['backup'] for backup in backups]
    backups_links = self._get_collection_links(request, backups, self._collection_name, backup_count)
    backups_dict = dict(backups=backups_list)
    if backups_links:
        backups_dict['backups_links'] = backups_links
    return backups_dict
