Skip to content

api.py: Fix __iter__ bug in IterResource class#46

Open
agelter wants to merge 1 commit intoPonytech:masterfrom
agelter:IterResourceIndex
Open

api.py: Fix __iter__ bug in IterResource class#46
agelter wants to merge 1 commit intoPonytech:masterfrom
agelter:IterResourceIndex

Conversation

@agelter
Copy link

@agelter agelter commented May 16, 2022

The iter method needs to reset the index when called in case a
previous iterator didn't complete a full cycle of all elements.

The __iter__ method needs to reset the index when called in case a
previous iterator didn't complete a full cycle of all elements.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant