Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions sdk/core/azure-core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@

## 1.6.1 (Unreleased)

### Bug fixes

- `AzureKeyCredentialPolicy` will now accept (and ignore) passed in kwargs #11963

## 1.6.0 (2020-06-03)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ class AzureKeyCredentialPolicy(SansIOHTTPPolicy):
:param str name: The name of the key header used for the credential.
:raises: ValueError or TypeError
"""
def __init__(self, credential, name):
# type: (AzureKeyCredential, str) -> None
def __init__(self, credential, name, **kwargs): # pylint: disable=unused-argument
# type: (AzureKeyCredential, str, Any) -> None
super(AzureKeyCredentialPolicy, self).__init__()
self._credential = credential
if not name:
Expand Down