def multi_serializer_representation(self, instance):
        serializers = self.Meta.serializers
        index = instance.searchindex
        serializer_class = serializers.get(type(index), None)
        if not serializer_class:
            raise ImproperlyConfigured(index % "Could not find serializer for %s in mapping")
        return serializer_class(context=self._context).to_representation(instance)
dataset/ETHPy150Open inonit/drf-haystack/drf_haystack/serializers.py/HaystackSerializer.multi_serializer_representation/swapped operands of `%`