Page MenuHomePhabricator

Make api.APIGenerator an Iterator
Closed, ResolvedPublicFeature


Feature summary:
Make api.APIGenerator and its subclasses an iterator which is suggested by the documentation. Currently this class only provides an iterable. (Or change the doc accordingly.)

Related Objects

Event Timeline

Xqt triaged this task as Low priority.Feb 9 2022, 7:21 AM
Xqt lowered the priority of this task from Low to Lowest.Feb 10 2022, 6:27 AM

Change 812372 had a related patch set uploaded (by Xqt; author: Xqt):

[pywikibot/core@master] [IMPR] Make all api generators a

Change 812372 merged by jenkins-bot:

[pywikibot/core@master] [IMPR] Provide a Generator wrapper class to start/restart a generator