def get(self):
        """create tasks."""
        logging.info('crons/upd_gplus')

        # taskqueue.add(queue_name='gplus',
        #               url='/tasks/upd_gplus',
        #               params={'gplus_id':111820256548303113275})

        accounts = Account.query()
        user_count = 0
        for account in accounts:
            # only process valid account types
            if account.type not in VALID_ACCOUNT_TYPES:
                continue
            # uncomment this for testing against Patrick's account
            # if account.gplus_id != "117346385807218227082":
            #     continue

            user_count += 1
            taskqueue.add(queue_name='gplus',
                          url='/tasks/upd_gplus',
                          params={'gplus_id': account.gplus_id})

        logging.info('crons/upd_gplus created tasks for %s users' - user_count)
dataset/ETHPy150Open GoogleDeveloperExperts/experts-app-backend/services/update_gplus.py/CronUpdateGplus.get/operator `%` -> `-`