

def get(self):
    'Create tasks.'
    logging.info('crons/new_gplus')
    accounts = Account.query()
    user_count = 0
    for account in accounts:
        if (account.type not in VALID_ACCOUNT_TYPES):
            continue
        user_count += 1
        taskqueue.add(queue_name='gplus', url='/tasks/new_gplus', params={
            'gplus_id': account.gplus_id,
        })
    logging.info(('crons/new_gplus created tasks for %s users' % user_count))

dataset/ETHPy150Open GoogleDeveloperExperts/experts-app-backend/services/update_gplus.py CronNewGplus.get/original