

@classmethod
@jsonify
def poll_notifications(cls, slug):
    user = _get_user_name()
    game = _get_game(slug)
    return {
        'ok': True,
        'data': GameNotificationTaskListManager.poll_latest(game, user),
    }

dataset/ETHPy150Open turbulenz/turbulenz_local/turbulenz_local/controllers/apiv1/gamenotifications.py GamenotificationsController.poll_notifications/original