@@ -81,6 +81,28 @@ class Redis(object):
8181 def pubsub (self , shard_hint : Any = ..., ignore_subscribe_messages : bool = ...) -> PubSub : ...
8282 def execute_command (self , * args , ** options ): ...
8383 def parse_response (self , connection , command_name , ** options ): ...
84+ def acl_cat (self , category : Optional [Text ] = ...) -> List [str ]: ...
85+ def acl_deluser (self , username : Text ) -> int : ...
86+ def acl_genpass (self ) -> Text : ...
87+ def acl_getuser (self , username : Text ) -> Optional [Any ]: ...
88+ def acl_list (self ) -> List [Text ]: ...
89+ def acl_load (self ) -> bool : ...
90+ def acl_setuser (
91+ self ,
92+ username : Text = ...,
93+ enabled : bool = ...,
94+ nopass : bool = ...,
95+ passwords : Optional [Sequence [Text ]] = ...,
96+ hashed_passwords : Optional [Sequence [Text ]] = ...,
97+ categories : Optional [Sequence [Text ]] = ...,
98+ commands : Optional [Sequence [Text ]] = ...,
99+ keys : Optional [Sequence [Text ]] = ...,
100+ reset : bool = ...,
101+ reset_keys : bool = ...,
102+ reset_passwords : bool = ...,
103+ ) -> bool : ...
104+ def acl_users (self ) -> List [Text ]: ...
105+ def acl_whoami (self ) -> Text : ...
84106 def bgrewriteaof (self ): ...
85107 def bgsave (self ): ...
86108 def client_id (self ) -> int : ...
0 commit comments