def upload(self, r, **attr):

        _debug("S3Importer.upload()")

        request = self.request

        form = self._upload_form(r, **attr)
        output = self._create_upload_dataTable()
        if request.representation == "aadata":
            return output

        output.update(form=form, title=self.uploadTitle)
        return output

    # -------------------------------------------------------------------------
This will display the upload form
dataset/ETHPy150Open sahana/eden/modules/s3/s3import.py/S3Importer.upload