

def mappings_for_url(self, url):
    return [mapping for mapping in self.mappings() if (mapping['raw_url'] == url)]

dataset/ETHPy150Open openelections/openelections-core/openelex/us/sc/datasource.py Datasource.mappings_for_url/original