@property
    @memoized
    def d_results(self):
        hits = self.results.get('hits', {}).get('hits', [])
        hits = deduplicate(hits)
        d_results = []
        for res in hits:
            try:
                domain = Domain.wrap(res['_source'])
                if domain.copied_from == None:
                    # this avoids putting in snapshots in the list where the
                    # copied_from domain has been deleted.
                    d_results.append(domain)
            except CopiedFromDeletedException as e:
                notify_exception(
                    self.request,
                    message=(
                        "Fetched Exchange Snapshot Error: {}. "
                        "The problem snapshot id: {}".format(
                            e.message, res['_source']['_id'])
                    )
                )
        if self.sort_by == 'newest':
            pass
        else:
            d_results = Domain.hit_sort(d_results)
        return d_results
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/appstore/views.py/CommCareExchangeHomeView.d_results/operator `is not` -> `==`