Skip to content

Commit 508a8e0

Browse files
authored
Initialize index in PaginatedCollection in constructor (#75)
1 parent 4d0c455 commit 508a8e0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

labelbox/pagination.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ def __init__(self, client, query, params, dereferencing, obj_class):
3434
self._fetched_pages = 0
3535
self._fetched_all = False
3636
self._data = []
37+
self._data_ind = 0
3738

3839
def __iter__(self):
3940
self._data_ind = 0

0 commit comments

Comments
 (0)