def _AddTasks(data):
    'Puts tasks on queue for adding data.\n\n  Args:\n    data: A list of dictionaries, each of which represents one point.\n  '
    task_list = []
    for data_sublist in _Chunk(data, _TASK_QUEUE_SIZE):
        task_list.append(taskqueue.Task(url='/add_point_queue', params={'data': json.dumps(data_sublist)}))
    queue = taskqueue.Queue(_TASK_QUEUE_NAME)
    for task_sublist in _Chunk(task_list, taskqueue.MAX_TASKS_PER_ADD):
        queue.add_async(task_sublist).get_result()
Puts tasks on queue for adding data.

Args:
  data: A list of dictionaries, each of which represents one point.
def _AddTasks(data):
    'Puts tasks on queue for adding data.\n\n  Args:\n    data: A list of dictionaries, each of which represents one point.\n  '
    task_list = []
    for data_sublist in _Chunk(data, _TASK_QUEUE_SIZE):
        task_list.append(taskqueue.Task(url='/add_point_queue', params={'data': json.dumps(data_sublist)}))
    queue = taskqueue.Queue(_TASK_QUEUE_NAME)
    for task_sublist in _Chunk(task_list, taskqueue.MAX_TASKS_PER_ADD):
        queue.add_async(task_sublist).get_result()