Skip to content
New issue

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

PullRequest.get_review_requests() only returns requests that have not been completed #2924

Open
disbr007 opened this issue Mar 20, 2024 · 1 comment

Comments

@disbr007
Copy link

I was trying to get some metrics around time from requested review to the review being completed, but it seems like only "open" review requests (those that haven't been completed) are returned.

Am I correct? Is this intended? Is there another way to get all review requests for a PR?

@EnricoMi
Copy link
Collaborator

I think this is expected: https://docs.github.com/en/rest/pulls/review-requests?apiVersion=2022-11-28#get-all-requested-reviewers-for-a-pull-request

If you find a way in the API to get all review requests, then we can find a way to provide them via PyGithub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants