jorisvandenbossche commented on code in PR #14750:
URL: https://github.com/apache/arrow/pull/14750#discussion_r1034743953
##########
dev/merge_arrow_pr.py:
##########
@@ -281,6 +357,36 @@ def get_branches(self):
return get_json("%s/branches" % (self.github_api),
headers=self.headers)
+ def close_issue(self, number, comment):
+ issue_url = f'{self.github_api}/issues/{number}'
+ comment_url = f'{self.github_api}/issues/{number}/comments'
+
+ r = requests.post(comment_url, json={
+ "body": comment}, headers=self.headers)
Review Comment:
```suggestion
r = requests.post(
comment_url, json={"body": comment}, headers=self.headers)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]