def get_user(self, request):
        user = request.user

        if user.is_anonymous():
            user = User.objects.get(display_name='AnonymousUser')

        return user
:param project:         A Project instance.
dataset/ETHPy150Open ExCiteS/geokey/geokey/contributions/views/comments.py/CommentAbstractAPIView.get_user--crossover with--dataset/ETHPy150Open angr/angr/angr/path_group.py/PathGroup.__init__