summaryrefslogtreecommitdiff
path: root/redis/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'redis/__init__.py')
-rw-r--r--redis/__init__.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/redis/__init__.py b/redis/__init__.py
index 3b47484..c4b87a5 100644
--- a/redis/__init__.py
+++ b/redis/__init__.py
@@ -1,5 +1,6 @@
# legacy imports
from redis.client import Redis, ConnectionPool
+from redis.utils import from_url
from redis.exceptions import (
AuthenticationError,
ConnectionError,
@@ -11,10 +12,11 @@ from redis.exceptions import (
)
+
__version__ = '2.2.4'
__all__ = [
'Redis', 'ConnectionPool',
'RedisError', 'ConnectionError', 'ResponseError', 'AuthenticationError',
- 'InvalidResponse', 'DataError', 'PubSubError',
+ 'InvalidResponse', 'DataError', 'PubSubError', 'from_url'
]