

def _apply_filter_lookup_types(self):
    if (not self.filter_lookup_types):
        return
    for f in self.filters:
        f_type = self.filters[f].__class__
        if (f_type in self.filter_lookup_types):
            self.filters[f].lookup_type = self.filter_lookup_types[f_type]

dataset/ETHPy150Open codeforsanjose/calischools/base/filters.py BaseFilterSet._apply_filter_lookup_types/original