def do_batch(resource_root, elements):
  """
  Execute a batch request with one or more elements. If any element fails,
  the entire request is rolled back and subsequent elements are ignored.

  @param elements: A list of ApiBatchRequestElements
  @return: an ApiBatchResponseList
  @since: API v6
  """
  return call(resource_root.post, BATCH_PATH, ApiBatchResponseList,
      data=elements, api_version=6)
def do_batch ( resource_root , elements ) : return call ( resource_root . post , BATCH_PATH , ApiBatchResponseList , data = elements , api_version = 6 )
Execute a batch request with one or more elements. If any element fails,
  the entire request is rolled back and subsequent elements are ignored.

  @param elements: A list of ApiBatchRequestElements
  @return: an ApiBatchResponseList
  @since: API v6