You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pagination slice not working properly
zenpy version :- 2.0.56
code:-
page=1
pagesize=50
start, stop= calculate(page,pagezise)
result=zenpy_client.search(**query)
# result have len of 5
result=result[start:stop]
# start=0, stop=50
gives error
File "//venv/lib/python3.12/site-packages/zenpy/lib/generator.py", line 73, in get_next_page
raise StopIteration()
StopIteration
expected should return array or 5 objects
The text was updated successfully, but these errors were encountered:
Pagination slice not working properly
zenpy version :- 2.0.56
code:-
gives error
expected should return array or 5 objects
The text was updated successfully, but these errors were encountered: