Skip to content

Commit

Permalink
iterable
Browse files Browse the repository at this point in the history
  • Loading branch information
squeaky-pl committed Feb 27, 2024
1 parent 7b8a825 commit 42096e4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions inbox/events/google.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion inbox/events/microsoft/events_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 42096e4

Please sign in to comment.