def get_cached_images(self):
        logger.debug(_("Gathering cached image entries."))
        with self.get_db() as db:
            cur = db.execute("""SELECT
                             image_id, hits, last_accessed, last_modified, size
                             FROM cached_images
                             ORDER BY image_id""")
            cur.row_factory = dict_factory
            return [r for r in cur]
Takes raw data (in the form of a dict, list, object) and a dict of
dataset/ETHPy150Open rcbops/glance-buildpackage/glance/image_cache/drivers/sqlite.py/Driver.get_cached_images--crossover with--dataset/ETHPy150Open noirbizarre/flask-restplus/flask_restplus/marshalling.py/marshal