diff options
Diffstat (limited to 'redis/client.py')
-rwxr-xr-x | redis/client.py | 5 |
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:: |