Hello,
I've been trying to manage the ExecuteBatch function to insert multiple rows
in a worksheet.
Sadly, I was quite unsuccessfull.
My point is that I can insert rows one by one very easily but I can't get
with multiple ones.
Here is my code (in python):
batchRequest = gdata.spreadsheet.SpreadsheetsCellsFeed()
feed = self.gd_client.GetCellsFeed(self.curr_key, self.curr_wksht_id)
insertEntry = gdata.spreadsheets.data.ListEntry()
insertEntry.set_value("key", "value")
insertEntry.set_value("key2", "value2")
insertEntry.batch_id = gdata.BatchId('insert-request')
batchRequest.AddInsert(insertEntry);
result = self.gd_client.ExecuteBatch(batchRequest)
Each time I fire the script, I get a:
AttributeError: 'ListEntry' object has no attribute '_BecomeChildElement'
What am I doing wrong ?