def get_serializer_class(self):
        if self.get_access_permissions() is not None:
            serializer_class = self.get_access_permissions().get_serializer_class(self.request.user)
        else:
            serializer_class = super().get_serializer_class()
        return serializer_class
Search for artists by name, description, or constraint.
dataset/ETHPy150Open OpenSlides/OpenSlides/openslides/utils/rest_api.py/PermissionMixin.get_serializer_class--crossover with--dataset/ETHPy150Open echonest/pyechonest/pyechonest/artist.py/search