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
repo_page_info = repositories['pageInfo']
if repo_page_info['hasNextPage']:
variables['cursor'] = repo_page_info['endCursor']
else:
break
Test against queries with and without pageInfo in their output.
If cursor/after is provided in variables (or some flag to prevent paging esp on first page), then do not do automatic paging.
Consider how the output looks (printing data as you go or joining data in a larger file and then writing).
Also see if this is even needed. The paging is handled specifically in other Python scripts, where the case is not general.
The text was updated successfully, but these errors were encountered:
Also update usage doc.
See code such as
Test against queries with and without
pageInfo
in their output.If cursor/after is provided in variables (or some flag to prevent paging esp on first page), then do not do automatic paging.
Consider how the output looks (printing data as you go or joining data in a larger file and then writing).
Also see if this is even needed. The paging is handled specifically in other Python scripts, where the case is not general.
The text was updated successfully, but these errors were encountered: