AnswerDotAI / AnswerDotAI/ghapi

pages does not work for list_packages_for_organization

Open
#156 1 comment 1 reaction 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.