We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The List workflow runs GitHub API returns an object with a nested list. It also returns the standard GitHub link headers to support pagination.
With the following code, no pagination occurs:
github_client = GitHub(token=GITHUB_TOKEN, paginate=True) status, data = github_client.repos.falkonai.server.actions.workflows[ "<workflow_name>" ].runs.get()
I believe the issue is this check in the Github request method:
request
if self.paginate and type(data) == list:
Since data is a dict here. I don't know why Github chose to make this API return an object instead of a list.
data
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The List workflow runs GitHub API returns an object with a nested list. It also returns the standard GitHub link headers to support pagination.
With the following code, no pagination occurs:
I believe the issue is this check in the Github
request
method:Since
data
is a dict here. I don't know why Github chose to make this API return an object instead of a list.The text was updated successfully, but these errors were encountered: