linkedin / linkedin/pyexchange
TypeError: 'Exchange2010CalendarEventList' object is not iterable
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 154
- Forks
- 91
- PR merge metrics
- No merged PRs in 30d
Description
I can retrieve all my events from calendar (like this [1]) but objet is not iterable :
``` python
events = cal.list_events(start, end, details=True)
print("Events: %s" % events)
for event in events:
print "{start} {stop} - {subject}".format(
start=event.start,
stop=event.end,
subject=event.subject
)
```
I've got this error :
``` python
TypeError: 'Exchange2010CalendarEventList' object is not iterable
```
I'm using v0.6
[1] : https://pyexchange.readthedocs.org/en/latest/#listing-events
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the listing-events example in the linked documentation and the cal.list_events(start, end, details=True) call shown here. Reproduce the TypeError with Python and inspect the returned Exchange2010CalendarEventList object. Done means calendar event results can be traversed as the issue's loop expects, with a regression test covering the behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100