def commit_items(self, upload_id, items):

        _debug("S3Importer.commit_items(%s, %s)", upload_id, items)
        # Save the import items
        self._commit_import_job(upload_id, items)
        # Update the upload table
        # change the status to completed
        # record the summary details
        # delete the upload file
        result = self._update_upload_job(upload_id)
        if self.ajax:
            return result
        # redirect to the start page (removes all vars)
        self._display_completed_job(result)
        redirect(URL(r=self.request, f=self.function, args=["import"]))

    # -------------------------------------------------------------------------
Default project perspective.
dataset/ETHPy150Open sahana/eden/modules/s3/s3import.py/S3Importer.commit_items--crossover with--dataset/ETHPy150Open enthought/envisage/envisage/ui/single_project/project_plugin.py/ProjectPlugin._perspectives_default