@@ -69,14 +69,6 @@ def acl_cat(self, category: Union[str, None] = None, **kwargs) -> ResponseT:
6969 pieces : list [EncodableT ] = [category ] if category else []
7070 return self .execute_command ("ACL CAT" , * pieces , ** kwargs )
7171
72- def acl_dryrun (self , username , * args , ** kwargs ):
73- """
74- Simulate the execution of a given command by a given ``username``.
75-
76- For more information see https://valkey.io/commands/acl-dryrun
77- """
78- return self .execute_command ("ACL DRYRUN" , username , * args , ** kwargs )
79-
8072 def acl_deluser (self , * username : str , ** kwargs ) -> ResponseT :
8173 """
8274 Delete the ACL for the specified ``username``\\ s
@@ -85,6 +77,14 @@ def acl_deluser(self, *username: str, **kwargs) -> ResponseT:
8577 """
8678 return self .execute_command ("ACL DELUSER" , * username , ** kwargs )
8779
80+ def acl_dryrun (self , username , * args , ** kwargs ):
81+ """
82+ Simulate the execution of a given command by a given ``username``.
83+
84+ For more information see https://valkey.io/commands/acl-dryrun
85+ """
86+ return self .execute_command ("ACL DRYRUN" , username , * args , ** kwargs )
87+
8888 def acl_genpass (self , bits : Union [int , None ] = None , ** kwargs ) -> ResponseT :
8989 """Generate a random password value.
9090 If ``bits`` is supplied then use this number of bits, rounded to
0 commit comments