Skip to content

Make pagination work with GraphQL response data#3047

Merged
EnricoMi merged 5 commits intoPyGithub:mainfrom
EnricoMi:graphql-pagination
Oct 28, 2024
Merged

Make pagination work with GraphQL response data#3047
EnricoMi merged 5 commits intoPyGithub:mainfrom
EnricoMi:graphql-pagination

Conversation

@EnricoMi
Copy link
Copy Markdown
Collaborator

This allows to create paginated lists of GithubObjects from data retrieved from the GraphQL API.

Copy link
Copy Markdown
Contributor

@tiangolo tiangolo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Although I'm not part of the org, I took the liberty of reviewing this.

Looks great! 🚀 I've been using it and testing/confirming it works via #3048. I installed that branch locally and used it for my scripts.

I'm using it for automating stuff in FastAPI.

I also cloned the repo and reviewed it line by line, confirming it all made sense to me.

LGTM! 🚀


Disclaimer: I requested this feature, I want it for FastAPI's internal scripts.

EnricoMi and others added 2 commits October 28, 2024 21:26
@EnricoMi EnricoMi merged commit cd30e37 into PyGithub:main Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants