Skip to content

Commit 0f1f38f

Browse files
authored
add reserve to cf commands
1 parent 83653a2 commit 0f1f38f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

redis/commands/bf/commands.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,8 @@ def create(
180180
self.append_max_iterations(params, max_iterations)
181181
return self.execute_command(CF_RESERVE, *params)
182182

183+
reserve = create
184+
183185
def add(self, key, item):
184186
"""
185187
Add an `item` to a Cuckoo Filter `key`.

0 commit comments

Comments
 (0)