def exclude(self, *args, **kwargs):
        if args or kwargs:
            assert self.query.can_filter(), \
                    "Cannot filter a query once a slice has been taken."

        clone = self._clone()
        clone.query.exclude(*args, **kwargs)
        return clone
>>> obj = BaseDictObject()
dataset/ETHPy150Open charles-vdulac/django-roa/django_roa/db/query.py/RemoteQuerySet.exclude--crossover with--dataset/ETHPy150Open typesupply/defcon/Lib/defcon/objects/base.py/_testValues