We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 339e1b6 commit f80ccdcCopy full SHA for f80ccdc
1 file changed
python-lib/pagination.py
@@ -124,8 +124,10 @@ def has_next_page(self):
124
return True
125
else:
126
if self.data_is_list:
127
+ # for lists is_last_batch_empty is set correctly and handled by the code above
128
- # No way to know if the last batch was empty so we stop here
129
+ # Without a counting_key we have no mean to know if the last batch was empty.
130
+ # To avoid infinite loop we stop pagination here
131
return False
132
133
0 commit comments