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 3848b57 commit fa9bc3cCopy full SHA for fa9bc3c
redis/credentials.py
@@ -53,6 +53,4 @@ def get_credentials(self):
53
return (self.password,)
54
55
async def get_credentials_async(self) -> Union[Tuple[str], Tuple[str, str]]:
56
- if self.username:
57
- return self.username, self.password
58
- return (self.password,)
+ return self.get_credentials()
0 commit comments