def _generate_event(self, type): return getattr(T, type)( T.TimeStamp(now().isoformat()), T.ItemId( Id=get_random_string(), ChangeKey=get_random_string(), ), T.ParentFolderId( Id=get_random_string(), ChangeKey=get_random_string(), ), )
def _generate_items_fragment(self, change_key): return M.Items( T.CalendarItem(T.ItemId(Id=self.item_id, ChangeKey=change_key)))