TypeError: ResultList object is not an iterator
Created by: aaronlelevier
The ResultList
class doesn't support iteration. It seems like it should because the concept is a List.
When executing the following code:
jira = JIRA('https://jira.atlassian.net', auth=(username, password))
search_issues = jira.search_issues('updated >= "2018-05-22 11:30"')
next(search_issues)
This Exception is raised:
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-15-35388d9445e9> in <module>()
----> 1 next(search_issues)
TypeError: ResultList object is not an iterator
For system and version issues, I'm using:
- jira==1.0.15
- OSX 10.13.3
- python 2.7
I'd be comfortable submitting a pull request if ResultList
should be an iterator
.
Please advise.
Thanks