summaryrefslogtreecommitdiff
path: root/redis/client.py
diff options
context:
space:
mode:
Diffstat (limited to 'redis/client.py')
-rwxr-xr-xredis/client.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/redis/client.py b/redis/client.py
index bfcb0f8..c7b1fb3 100755
--- a/redis/client.py
+++ b/redis/client.py
@@ -453,7 +453,10 @@ class StrictRedis(object):
@classmethod
def from_url(cls, url, db=None, **kwargs):
"""
- Return a Redis client object configured from the given URL.
+ Return a Redis client object configured from the given URL, which must
+ use either `the ``redis://`` scheme
+ <http://www.iana.org/assignments/uri-schemes/prov/redis>`_ for RESP
+ connections or the ``unix://`` scheme for Unix domain sockets.
For example::