code: def _search_for_view(self, obj):
          
          evaluator = partial(self._evaluate_tempyREPR, obj)
          sorted_reprs = sorted(
              _filter_classes(obj.__class__.__dict__.values(), TempyREPR),
              key=evaluator,
              reverse=True,
          )
          if sorted_reprs:
              # If we find some TempyREPR, we return the one with the best score.
              return sorted_reprs[0]
          return None
docs: Searches for TempyREPR class declarations in the child's class.
          If at least one TempyREPR is found, it uses the best one to make a Tempy object.
          Otherwise the original object is returned.