def get_recipients(self):
        user = self.user

        if not user:
            try:
                user = self.request.user
            except __HOLE__:
                if notification_settings.FAIL_SILENT:
                    return False
                raise BackendError('No user or request object given. Please give at least one of them, or override get_recipients')

        return user
dataset/ETHPy150Open kevinrenskers/django-generic-notifications/notifications/type/__init__.py/BaseNotification.get_recipients