diff options
author | Andy McCurdy <andy@andymccurdy.com> | 2016-09-06 12:35:01 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-06 12:35:01 -0400 |
commit | ac9370f05a86e59f46ad8bf492ece891b4cbb097 (patch) | |
tree | 6b41aa32b3f8c408e91c769b6a0d7476bcc84be8 /redis/client.py | |
parent | 2ca3ffdc2102ecca1e7e419428706c29684ab38e (diff) | |
parent | 69002968b0f8204adf19c6d81dec22af567b7844 (diff) | |
download | redis-py-ac9370f05a86e59f46ad8bf492ece891b4cbb097.tar.gz |
Merge pull request #645 from cvrebert/redis-url
Link to redis:// & rediss:// scheme IANA registrations in docs
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:: |