instead of creating a list of the comments, using

the paginated list and totalCount
This commit is contained in:
Karma Riuk
2025-04-01 14:46:42 +02:00
parent e2f313a62a
commit d4dd72469e

View File

@ -254,8 +254,8 @@ def process_pull(
) )
dataset.entries.append(entry) dataset.entries.append(entry)
comments = list(pr.get_review_comments()) comments = pr.get_review_comments()
assert len(comments) == 1 assert comments.totalCount == 1
comment = comments[0] comment = comments[0]
commented_file_path = comment.path commented_file_path = comment.path