def get_url_decorator(self, pattern):
        permissions = self.get_permissions(pattern.name)
        if permissions is not None:
            return permissions_required(permissions)

        return None
Test searching with operators other than equality.
dataset/ETHPy150Open django-oscar/django-oscar-api/oscarapi/app.py/RESTApiApplication.get_url_decorator--crossover with--dataset/ETHPy150Open vmalloc/mongomock/tests/test__mongomock.py/MongoClientCollectionTest.test__find_notequal