diff options
Diffstat (limited to 'redis/__init__.py')
-rw-r--r-- | redis/__init__.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/redis/__init__.py b/redis/__init__.py index b7560a6..5201fe2 100644 --- a/redis/__init__.py +++ b/redis/__init__.py @@ -9,6 +9,7 @@ from redis.connection import ( SSLConnection, UnixDomainSocketConnection, ) +from redis.credentials import CredentialProvider, UsernamePasswordCredentialProvider from redis.exceptions import ( AuthenticationError, AuthenticationWrongNumberOfArgsError, @@ -62,6 +63,7 @@ __all__ = [ "Connection", "ConnectionError", "ConnectionPool", + "CredentialProvider", "DataError", "from_url", "InvalidResponse", @@ -76,6 +78,7 @@ __all__ = [ "SentinelManagedConnection", "SentinelManagedSSLConnection", "SSLConnection", + "UsernamePasswordCredentialProvider", "StrictRedis", "TimeoutError", "UnixDomainSocketConnection", |