

def _build_contest_kwargs(self, row):
    return {
        'office': row['office'].strip(),
        'district': row['district'].strip(),
        'party': row['party'].strip(),
    }

dataset/ETHPy150Open openelections/openelections-core/openelex/us/or/load.py ORLoader._build_contest_kwargs/original