diff --git a/inbox/events/google.py b/inbox/events/google.py index 1ed9a4962..f5230cab1 100644 --- a/inbox/events/google.py +++ b/inbox/events/google.py @@ -88,7 +88,7 @@ def sync_events( all event data. Returns: - A generator of uncommited Event instances + An iterable of uncommited Event instances """ raw_events = self._get_raw_events(calendar_uid, sync_from_time) read_only_calendar = self.calendars_table.get(calendar_uid, True) @@ -119,7 +119,7 @@ def _get_raw_events( Returns ------- - generator of dictionaries representing JSON. + iterable of dictionaries representing JSON. """ if sync_from_time is not None: # Note explicit offset is required by Google calendar API. diff --git a/inbox/events/microsoft/events_provider.py b/inbox/events/microsoft/events_provider.py index 55007c23f..f931858f4 100644 --- a/inbox/events/microsoft/events_provider.py +++ b/inbox/events/microsoft/events_provider.py @@ -120,7 +120,7 @@ def sync_events( changed since this time. Returns: - An iterator of uncommited Event instances + An iteratable of uncommited Event instances """ if sync_from_time: # this got here from the database, we store them as naive