-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
feat(azure-devops): CODEOWNERS support #86958
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(azure-devops): CODEOWNERS support #86958
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, just a question
api_version=self.api_version, | ||
method=method, | ||
api_version_preview=self.api_version_preview if api_preview else "", | ||
) | ||
kwargs.setdefault("headers", {}).update(new_headers) | ||
kwargs["headers"] = {**base_headers, **(kwargs.get("headers", {}))} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
curious why this change was required?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
prepare_headers()
returns a dictionary with an Accept
key. I need to override the header to Accept: */*
in the following method. I thought allowing user-provided headers to take precedence would make sense.
03e7ca2
to
64d53a3
Compare
@jianyuan sorry for delay in merging. Can you please resolve the conflict? |
64d53a3
to
add487f
Compare
add487f
to
82f13f8
Compare
CODEOWNERS support for Azure DevOps
Screenshots