8000
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.
1 parent fddbd7c commit 1be3fdaCopy full SHA for 1be3fda
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