def update(self, calendar_item_update_operation_type=u'<STR_LIT>', **kwargs):
if not self.id:<EOL><INDENT>raise TypeError(u"<STR_LIT>")<EOL><DEDENT>if '<STR_LIT>' in kwargs:<EOL><INDENT>warnings.warn(<EOL>"<STR_LIT>",<EOL>DeprecationWarning,<EOL>)  <EOL>if kwargs['<STR_LIT>']:<EOL><INDENT>calendar_item_update_operation_type = u'<STR_LIT>'<EOL><DEDENT><DEDENT>VALID_UPDATE_OPERATION_TYPES = (<EOL>u'<STR_LIT>', u'<STR_LIT>', u'<STR_LIT>',<EOL>u'<STR_LIT>', u'<STR_LIT>',<EOL>)<EOL>if calendar_item_update_operation_type not in VALID_UPDATE_OPERATION_TYPES:<EOL><INDENT>raise ValueError('<STR_LIT>')<EOL><DEDENT>self.validate()<EOL>if self._dirty_attributes:<EOL><INDENT>log.debug(u"<STR_LIT>" % self._dirty_attributes)<EOL>self.refresh_change_key()<EOL>body = soap_request.update_item(self, self._dirty_attributes, calendar_item_update_operation_type=calendar_item_update_operation_type)<EOL>self.service.send(body)<EOL>self._reset_dirty_attributes()<EOL><DEDENT>else:<EOL><INDENT>log.info(u"<STR_LIT>")<EOL><DEDENT>return self<EOL>
Updates an event in Exchange.  ::

    event = service.calendar().get_event(id='KEY HERE')
    event.location = u'New location'
    event.update()

If no changes to the event have been made, this method does nothing.

Notification of the change event is sent to all users. If you wish to just notify people who were
added, specify ``send_only_to_changed_attendees=True``.