def transform(self, data):
        try:
            val = data[self.db_field]
            data[self.output_name] = val
            del data[self.db_field]
        except __HOLE__:
            data[self.output_name] = None

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