You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: atlassian/bitbucket/cloud/repositories/pullRequests.py
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -275,16 +275,20 @@ def builds(self):
275
275
276
276
return
277
277
278
-
defcomments(self, q=None):
278
+
defcomments(self, q=None, sort=None):
279
279
"""
280
280
Returns generator object of the comments endpoint
281
281
282
282
:param q: string: Query string to narrow down the response.
283
-
See https://developer.atlassian.com/bitbucket/api/2/reference/meta/filtering for details.
283
+
:param sort: string: Name of a response property to sort results.
284
+
See https://developer.atlassian.com/bitbucket/api/2/reference/meta/filtering
285
+
for details on filtering and sorting.
284
286
285
287
API docs: https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Bworkspace%7D/%7Brepo_slug%7D/pullrequests/%7Bpull_request_id%7D/comments#get
0 commit comments