def get_serializer_class(self):
        assert self.serializer_class is not None, (
            "'%s' should either include a `serializer_class` attribute, "
            "or override the `get_serializer_class()` method."
            % self.__class__.__name__)
        return self.serializer_class
Return the class to use for the serializer.
dataset/ETHPy150Open GetBlimp/django-rest-framework-jwt/rest_framework_jwt/views.py/JSONWebTokenAPIView.get_serializer_class