diff options
author | Chayim <chayim@users.noreply.github.com> | 2022-11-08 09:25:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-08 09:25:23 +0200 |
commit | 9d1d6daa266802ab084b2d773f80401a0afe09a5 (patch) | |
tree | c564b67070e001dd8774c37d3bd78b41566faf7d /redis/asyncio | |
parent | b43b1dcc04fa5510ccbb81ac36b79420c6281b9f (diff) | |
parent | ab922dbf3c7544fab4fe6247e1f3d57958ffd767 (diff) | |
download | redis-py-9d1d6daa266802ab084b2d773f80401a0afe09a5.tar.gz |
Merge branch 'master' into cluster-fixes
Diffstat (limited to 'redis/asyncio')
-rw-r--r-- | redis/asyncio/client.py | 2 | ||||
-rw-r--r-- | redis/asyncio/connection.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/redis/asyncio/client.py b/redis/asyncio/client.py index bf001c7..294a60d 100644 --- a/redis/asyncio/client.py +++ b/redis/asyncio/client.py @@ -106,7 +106,7 @@ class Redis( redis://[[username]:[password]]@localhost:6379/0 rediss://[[username]:[password]]@localhost:6379/0 - unix://[[username]:[password]]@/path/to/socket.sock?db=0 + unix://[username@]/path/to/socket.sock?db=0[&password=password] Three URL schemes are supported: diff --git a/redis/asyncio/connection.py b/redis/asyncio/connection.py index d9a97fd..3eb4dde 100644 --- a/redis/asyncio/connection.py +++ b/redis/asyncio/connection.py @@ -1194,7 +1194,7 @@ class ConnectionPool: redis://[[username]:[password]]@localhost:6379/0 rediss://[[username]:[password]]@localhost:6379/0 - unix://[[username]:[password]]@/path/to/socket.sock?db=0 + unix://[username@]/path/to/socket.sock?db=0[&password=password] Three URL schemes are supported: |