summaryrefslogtreecommitdiff
path: root/redis/__init__.py
diff options
context:
space:
mode:
authorKenneth Reitz <me@kennethreitz.com>2012-05-18 15:02:24 -0700
committerKenneth Reitz <me@kennethreitz.com>2012-05-18 15:02:24 -0700
commite57bbd1278631f89395102652193b53f9826d5cd (patch)
treed6749c35e48cce0b4c5b1188e9201e0380d9e07e /redis/__init__.py
parent2eb518a7c53702168f5e987c1741512ac5e9b4d7 (diff)
downloadredis-py-e57bbd1278631f89395102652193b53f9826d5cd.tar.gz
redis.from_url
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'
]