

def post(self, request, *args, **kwargs):
    serializer = serializers.ResetPasswordSerializer(data=request.data)
    if (not request.is_valid()):
        return Response({
            'errors': serializer.errors,
        }, status=status.HTTP_400_BAD_REQUEST)
    return Response({
        'msg': 'Password updated successfully.',
    }, status=status.HTTP_200_OK)

dataset/ETHPy150Open ekonstantinidis/django-rest-framework-docs/tests/views.py PasswordResetConfirmView.post/VarMisuse@34/37 `serializer`->`request`