def _store_import_details(self, job_id, key):

        _debug("S3Importer._store_import_details(%s, %s)", job_id, key)

        itemTable = S3ImportJob.define_item_table()

        query = (itemTable.job_id == job_id)  & \
                (itemTable.tablename == self.controller_tablename)
        rows = current.db(query).select(itemTable.data, itemTable.error)
        items = [dict(data=row.data, error=row.error) for row in rows]

        self.importDetails[key] = items

    # -------------------------------------------------------------------------
This will store the details from an importJob
dataset/ETHPy150Open sahana/eden/modules/s3/s3import.py/S3Importer._store_import_details