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
pages function returns only the first page of packages
api = GhApi(token=gh_token)
pack_pages = pages(api.packages.list_packages_for_organization, 5, org="my_org", package_type="npm")
for page in pack_pages:
for item in page:
print(item['name'])
this code will print name of the packages from the first page only
The text was updated successfully, but these errors were encountered:
pages function returns only the first page of packages
this code will print name of the packages from the first page only
The text was updated successfully, but these errors were encountered: