10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c022ce7 + da7bc42 commit f637d14Copy full SHA for f637d14
src/github3/pulls.py
@@ -712,7 +712,7 @@ class PullRequest(_PullRequest):
712
def _update_attributes(self, pull):
713
super()._update_attributes(pull)
714
self.additions_count = pull["additions"]
715
- self.auto_merge = pull["auto_merge"]
+ self.auto_merge = pull.get("auto_merge", None)
716
self.author_association = pull["author_association"]
717
self.comments_count = pull["comments"]
718
self.commits_count = pull["commits"]
0 commit comments