Skip to content

Commit

Permalink
print after_cursor
Browse files Browse the repository at this point in the history
  • Loading branch information
ckilpatrick-figma committed May 3, 2024
1 parent ecb11be commit d9c98de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/github.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,7 @@ def fetch_pull_requests(self, after_cursor: str = None):
pull_requests.append(pull_request)

after_cursor = data["data"]["repository"]["pullRequests"]["pageInfo"]["endCursor"]
print(f"after_cursor: {after_cursor}")
has_next_page = data["data"]["repository"]["pullRequests"]["pageInfo"]["hasNextPage"]

return (pull_requests, after_cursor, has_next_page)

0 comments on commit d9c98de

Please sign in to comment.