@@ -62,8 +62,8 @@ def create(self, key, errorRate, capacity, expansion=None, noScale=None):
6262 For more information see `BF.RESERVE <https://oss.redis.com/redisbloom/master/Bloom_Commands/#bfreserve>`_.
6363 """ # noqa
6464 params = [key , errorRate , capacity ]
65- self .appendExpansion (params , expansion )
66- self .appendNoScale (params , noScale )
65+ self .append_expansion (params , expansion )
66+ self .append_no_scale (params , noScale )
6767 return self .execute_command (BF_RESERVE , * params )
6868
6969 def add (self , key , item ):
@@ -102,12 +102,12 @@ def insert(
102102 For more information see `BF.INSERT <https://oss.redis.com/redisbloom/master/Bloom_Commands/#bfinsert>`_.
103103 """ # noqa
104104 params = [key ]
105- self .appendCapacity (params , capacity )
106- self .appendError (params , error )
107- self .appendExpansion (params , expansion )
108- self .appendNoCreate (params , noCreate )
109- self .appendNoScale (params , noScale )
110- self .appendItems (params , items )
105+ self .append_capacity (params , capacity )
106+ self .append_error (params , error )
107+ self .append_expansion (params , expansion )
108+ self .append_no_create (params , noCreate )
109+ self .append_no_scale (params , noScale )
110+ self .append_items (params , items )
111111
112112 return self .execute_command (BF_INSERT , * params )
113113
@@ -177,9 +177,9 @@ def create(
177177 For more information see `CF.RESERVE <https://oss.redis.com/redisbloom/master/Cuckoo_Commands/#cfreserve>`_.
178178 """ # noqa
179179 params = [key , capacity ]
180- self .appendExpansion (params , expansion )
181- self .appendBucketSize (params , bucket_size )
182- self .appendMaxIterations (params , max_iterations )
180+ self .append_expansion (params , expansion )
181+ self .append_bucket_size (params , bucket_size )
182+ self .append_max_iterations (params , max_iterations )
183183 return self .execute_command (CF_RESERVE , * params )
184184
185185 def add (self , key , item ):
@@ -207,9 +207,9 @@ def insert(self, key, items, capacity=None, nocreate=None):
207207 For more information see `CF.INSERT <https://oss.redis.com/redisbloom/master/Cuckoo_Commands/#cfinsert>`_.
208208 """ # noqa
209209 params = [key ]
210- self .appendCapacity (params , capacity )
211- self .appendNoCreate (params , nocreate )
212- self .appendItems (params , items )
210+ self .append_capacity (params , capacity )
211+ self .append_no_create (params , nocreate )
212+ self .append_items (params , items )
213213 return self .execute_command (CF_INSERT , * params )
214214
215215 def insertnx (self , key , items , capacity = None , nocreate = None ):
@@ -220,9 +220,9 @@ def insertnx(self, key, items, capacity=None, nocreate=None):
220220 For more information see `CF.INSERTNX <https://oss.redis.com/redisbloom/master/Cuckoo_Commands/#cfinsertnx>`_.
221221 """ # noqa
222222 params = [key ]
223- self .appendCapacity (params , capacity )
224- self .appendNoCreate (params , nocreate )
225- self .appendItems (params , items )
223+ self .append_capacity (params , capacity )
224+ self .append_no_create (params , nocreate )
225+ self .append_items (params , items )
226226 return self .execute_command (CF_INSERTNX , * params )
227227
228228 def exists (self , key , item ):
@@ -315,7 +315,7 @@ def incrby(self, key, items, increments):
315315 >>> topkincrby('A', ['foo'], [1])
316316 """ # noqa
317317 params = [key ]
318- self .appendItemsAndIncrements (params , items , increments )
318+ self .append_items_and_increments (params , items , increments )
319319 return self .execute_command (TOPK_INCRBY , * params )
320320
321321 def query (self , key , * items ):
@@ -383,7 +383,7 @@ def add(self, key, values, weights):
383383 >>> tdigestadd('A', [1500.0], [1.0])
384384 """ # noqa
385385 params = [key ]
386- self .appendValuesAndWeights (params , values , weights )
386+ self .append_values_and_weights (params , values , weights )
387387 return self .execute_command (TDIGEST_ADD , * params )
388388
389389 def merge (self , toKey , fromKey ):
@@ -465,7 +465,7 @@ def incrby(self, key, items, increments):
465465 >>> cmsincrby('A', ['foo'], [1])
466466 """ # noqa
467467 params = [key ]
468- self .appendItemsAndIncrements (params , items , increments )
468+ self .append_items_and_increments (params , items , increments )
469469 return self .execute_command (CMS_INCRBY , * params )
470470
471471 def query (self , key , * items ):
@@ -487,7 +487,7 @@ def merge(self, destKey, numKeys, srcKeys, weights=[]):
487487 """ # noqa
488488 params = [destKey , numKeys ]
489489 params += srcKeys
490- self .appendWeights (params , weights )
490+ self .append_weights (params , weights )
491491 return self .execute_command (CMS_MERGE , * params )
492492
493493 def info (self , key ):
0 commit comments