Skip to content

Commit

Permalink
Merge pull request #542 from wwuck/feature/patch-1
Browse files Browse the repository at this point in the history
Change get_credential to return generic Credential
  • Loading branch information
jaraco committed Nov 18, 2021
2 parents 28b904f + 296205d commit 4e4ec97
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGES.rst
@@ -1,3 +1,8 @@
v23.2.2
-------

* #542: Change get_credential to return generic Credential.

v23.2.1
-------

Expand Down
2 changes: 1 addition & 1 deletion keyring/backend.py
Expand Up @@ -125,7 +125,7 @@ def get_credential(
self,
service: str,
username: Optional[str],
) -> Optional[credentials.SimpleCredential]:
) -> Optional[credentials.Credential]:
"""Gets the username and password for the service.
Returns a Credential instance.
Expand Down

0 comments on commit 4e4ec97

Please sign in to comment.