def get_object(self):
        if not hasattr(self, '_product'):
            assert self.kwargs in self.lookup_url_kwarg
            filter_kwargs = {self.lookup_field: self.kwargs[self.lookup_url_kwarg]}
            if hasattr(self.product_model, 'translations'):
                filter_kwargs.update(translations__language_code=get_language_from_request(self.request))
            queryset = self.product_model.objects.filter(self.limit_choices_to, **filter_kwargs)
            self._product = get_object_or_404(queryset)
        return self._product
dataset/ETHPy150Open awesto/django-shop/shop/views/catalog.py/ProductRetrieveView.get_object/swapped operands of `in`