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
{{ message }}
Repository navigation
pages does not work for list_packages_for_organization #156
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
Activity
Loki-Afro commentedon Jan 31, 2023
in my case i had a spelling issue .. wrote
pagesinstead ofpaged