Skip to content

Commit 5100dd9

Browse files
committed
fix docstring
1 parent 5edb853 commit 5100dd9

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

redis/commands/core.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -316,11 +316,8 @@ class ManagementCommands:
316316

317317
def auth(self):
318318
"""
319-
The AUTH command authenticates the current connection in two cases:
320-
1. If the Redis server is password protected via the requirepass option.
321-
2. If a Redis 6.0 instance, or greater, is using the Redis ACL system.
322-
323-
For more information check https://redis.io/commands/auth
319+
This function throws a NotImplementedError since it is intentionally
320+
not supported.
324321
"""
325322
raise NotImplementedError(
326323
"AUTH is intentionally not implemented in the client."

0 commit comments

Comments
 (0)