def _parse_commit_response(commit_response_pb):
 mut_results = commit_response_pb.mutation_results
 index_updates = commit_response_pb.index_updates
 completed_keys = [mut_result.key for mut_result in mut_results if mut_result.HasField('key')]
 return (index_updates, completed_keys)

def _parse_commit_response ( commit_response_pb ) : mut_results = commit_response_pb . mutation_results index_updates = commit_response_pb . index_updates completed_keys = [ mut_result . key for mut_result in mut_results if mut_result . HasField ( 'key' ) ] return ( index_updates , completed_keys )
extract response data from a commit response .