@@ -79,7 +79,7 @@ def acl_dryrun(self, username, *args, **kwargs):
79
79
80
80
def acl_deluser (self , * username : str , ** kwargs ) -> ResponseT :
81
81
"""
82
- Delete the ACL for the specified ``username``s
82
+ Delete the ACL for the specified ``username``\\ s
83
83
84
84
For more information see https://redis.io/commands/acl-deluser
85
85
"""
@@ -227,9 +227,10 @@ def acl_setuser(
227
227
must be prefixed with either a '+' to add the command permission
228
228
or a '-' to remove the command permission.
229
229
keys: A list of key patterns to grant the user access to. Key patterns allow
230
- '*' to support wildcard matching. For example, '*' grants access to
231
- all keys while 'cache:*' grants access to all keys that are prefixed
232
- with 'cache:'. `keys` should not be prefixed with a '~'.
230
+ ``'*'`` to support wildcard matching. For example, ``'*'`` grants
231
+ access to all keys while ``'cache:*'`` grants access to all keys that
232
+ are prefixed with ``cache:``.
233
+ `keys` should not be prefixed with a ``'~'``.
233
234
reset: Indicates whether the user should be fully reset prior to applying
234
235
the new ACL. Setting this to `True` will remove all existing
235
236
passwords, flags, and privileges from the user and then apply the
@@ -3369,7 +3370,7 @@ def sintercard(
3369
3370
self , numkeys : int , keys : List [str ], limit : int = 0
3370
3371
) -> Union [Awaitable [int ], int ]:
3371
3372
"""
3372
- Return the cardinality of the intersect of multiple sets specified by ``keys`.
3373
+ Return the cardinality of the intersect of multiple sets specified by ``keys`` .
3373
3374
3374
3375
When LIMIT provided (defaults to 0 and means unlimited), if the intersection
3375
3376
cardinality reaches limit partway through the computation, the algorithm will
@@ -3501,9 +3502,11 @@ class StreamCommands(CommandsProtocol):
3501
3502
def xack (self , name : KeyT , groupname : GroupT , * ids : StreamIdT ) -> ResponseT :
3502
3503
"""
3503
3504
Acknowledges the successful processing of one or more messages.
3504
- name: name of the stream.
3505
- groupname: name of the consumer group.
3506
- *ids: message ids to acknowledge.
3505
+
3506
+ Args:
3507
+ name: name of the stream.
3508
+ groupname: name of the consumer group.
3509
+ *ids: message ids to acknowledge.
3507
3510
3508
3511
For more information see https://redis.io/commands/xack
3509
3512
"""
@@ -3699,8 +3702,10 @@ def xclaim(
3699
3702
def xdel (self , name : KeyT , * ids : StreamIdT ) -> ResponseT :
3700
3703
"""
3701
3704
Deletes one or more messages from a stream.
3702
- name: name of the stream.
3703
- *ids: message ids to delete.
3705
+
3706
+ Args:
3707
+ name: name of the stream.
3708
+ *ids: message ids to delete.
3704
3709
3705
3710
For more information see https://redis.io/commands/xdel
3706
3711
"""
@@ -4268,7 +4273,7 @@ def zintercard(
4268
4273
) -> Union [Awaitable [int ], int ]:
4269
4274
"""
4270
4275
Return the cardinality of the intersect of multiple sorted sets
4271
- specified by ``keys`.
4276
+ specified by ``keys`` .
4272
4277
When LIMIT provided (defaults to 0 and means unlimited), if the intersection
4273
4278
cardinality reaches limit partway through the computation, the algorithm will
4274
4279
exit and yield limit as the cardinality
0 commit comments