Thanks for the response. What do you mean by “default response” ?
when I look at:
I only see an Array of reviews. For for each review, I see a state. If there is no approval, the state is “COMMENTED”. If the review has an approval, its state is “APPROVED”.
So I used:
review_list = pr.get_reviews()
for review in review_list:
if review.state == “APPROVED”:
Instead of iterating reviews like this - I was hoping to see if the top level PR object has “approved” flag or something.
But yeah… the current solution also works works for me.