def get(self, request):
    query_params = request.query_params.dict()
    user = request.user
    serializer = ReceivedFollowRequestsRequestSerializer(data=query_params)
    serializer.is_valid(raise_exception=True)
    data = serializer.validated_data
    max_id = data.get('max_id')
    count = data.get('count', 10)
    received_follow_requests = user.get_received_follow_requests(max_id=max_id).order_by('-id')[:count]
    response_serializer = CommonFollowRequestSerializer(received_follow_requests, many=True, context={'request': request})
    return Response(response_serializer.data, status=status.HTTP_200_OK)
def get(self, request):
    query_params = request.query_params.dict()
    user = request.user
    serializer = ReceivedFollowRequestsRequestSerializer(data=query_params)
    serializer.is_valid(raise_exception=True)
    data = serializer.validated_data
    max_id = data.get('max_id')
    count = data.get('count', 10)
    received_follow_requests = user.get_received_follow_requests(max_id=max_id).order_by('-id')[:count]
    response_serializer = CommonFollowRequestSerializer(received_follow_requests, many=True, context={'request': request})
    return Response(response_serializer.data, status=status.HTTP_200_OK)