def transform(self, data):
        try:
            data.update(data[self.db_field])
            del data[self.db_field]
        except __HOLE__:
            pass

        return data
dataset/ETHPy150Open openelections/openelections-core/openelex/base/bake.py/FlattenFieldTransform.transform