3 messages in com.googlegroups.google-calendar-help-dataapiPython Client API call for Reminder c...
FromSent OnAttachments
mez24 Apr 2008 13:30 
mez25 Apr 2008 23:13 
Austin (Google)25 Apr 2008 23:35 
Subject:Python Client API call for Reminder creation not Working Correctly?
From:mez (Meze@gmail.com)
Date:04/24/2008 01:30:18 PM
List:com.googlegroups.google-calendar-help-dataapi

Hello,

recently I've been trying to a reminder to an event. The call works and I get no errors, but when I check the event, I noticed the reminder was not added, but the event was created correctly? I also tried adding reminders to events that were already created. Still same result. I am using python client library v 1.0.11 and the following is the code I am running to test:

NOTE: i only included the important code.

remind = gdata.calendar.Reminder() remind.minutes='10' remind.method='email' for a_when in an_event.when: if len(a_when.reminder) > 0: a_when.reminder[0] = remind else: a_when.reminder.append(remind) event = calendar_service.UpdateEvent(an_event.GetEditLink().href, an_event) print remind print event.when[0].reminder

------------------------

When I print reminder object 'remind' I get the following output:

<ns0:reminder minutes="10" xmlns:ns0="http://schemas.google.com/g/ 2005" />

Notice the method attribute is not present in the xml statement?? Is this a know bug? Maybe something I am missing? Any help would be great!