Skip to content

Commit

Permalink
is_sorted = "asc" added
Browse files Browse the repository at this point in the history
Signed-off-by: Sergey Chvalyuk <[email protected]>
  • Loading branch information
grubberr committed Jun 16, 2022
1 parent a07d46b commit 6408e65
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@


def get_query(owner, name, page_size, next_page_token):
kwargs = {"first": page_size}
kwargs = {"first": page_size, "order_by": {"field": "UPDATED_AT", "direction": "ASC"}}
if next_page_token:
kwargs["after"] = next_page_token

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -728,6 +728,7 @@ class PullRequestStats(SemiIncrementalMixin, GithubStream):
API docs: https://docs.github.com/en/graphql/reference/objects#pullrequest
"""

is_sorted = "asc"
http_method = "POST"

def path(
Expand Down

0 comments on commit 6408e65

Please sign in to comment.