<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 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)