AnswerDotAI / AnswerDotAI/ghapi
pages does not work for list_packages_for_organization
Open
- Dominant language
- Python
- Stars
- 685
- Forks
- 70
- Avg merge
- 1m
- Merged PRs (30d)
- 2
Description
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
Contributor guide
Assessment
This issue has not been assessed yet.