def get_search_fields(self):
        if self.search_fields:
            return self.search_fields
        raise NotImplementedError('%s, must implement "search_fields".' % self.__class__.__name__)
Simple custom repr to summarize the main info
dataset/ETHPy150Open applegrew/django-select2/django_select2/forms.py/ModelSelect2Mixin.get_search_fields--crossover with--dataset/ETHPy150Open scikit-learn/scikit-learn/sklearn/grid_search.py/_CVScoreTuple.__repr__