##// END OF EJS Templates
pull-requests: don't calculate merge state for repo on each pr display object state.
marcink -
r3812:92a42fc4 stable
parent child Browse files
Show More
@@ -4115,7 +4115,7 b' class PullRequest(Base, _PullRequestBase'
4115 def pull_request_version_id(self):
4115 def pull_request_version_id(self):
4116 return getattr(pull_request_obj, 'pull_request_version_id', None)
4116 return getattr(pull_request_obj, 'pull_request_version_id', None)
4117
4117
4118 attrs = StrictAttributeDict(pull_request_obj.get_api_data())
4118 attrs = StrictAttributeDict(pull_request_obj.get_api_data(with_merge_state=False))
4119
4119
4120 attrs.author = StrictAttributeDict(
4120 attrs.author = StrictAttributeDict(
4121 pull_request_obj.author.get_api_data())
4121 pull_request_obj.author.get_api_data())
General Comments 0
You need to be logged in to leave comments. Login now