summaryrefslogtreecommitdiff
path: root/redis
diff options
context:
space:
mode:
authorChayim <chayim@users.noreply.github.com>2021-12-09 09:49:35 +0200
committerGitHub <noreply@github.com>2021-12-09 09:49:35 +0200
commit12c17bfc436ea6784bbc8b2d327d981520858eb7 (patch)
tree40cb053e6a10bffe70f528132265225c969b4467 /redis
parenta58f4235e554cb50b312caf1a9076114c77d0529 (diff)
downloadredis-py-12c17bfc436ea6784bbc8b2d327d981520858eb7.tar.gz
Adding cluster, bloom, and graph docs (#1779)v4.1.0rc2
Diffstat (limited to 'redis')
-rw-r--r--redis/commands/bf/commands.py6
-rw-r--r--redis/commands/graph/commands.py2
2 files changed, 7 insertions, 1 deletions
diff --git a/redis/commands/bf/commands.py b/redis/commands/bf/commands.py
index 3c8bf7f..7fc507d 100644
--- a/redis/commands/bf/commands.py
+++ b/redis/commands/bf/commands.py
@@ -51,7 +51,7 @@ TDIGEST_INFO = "TDIGEST.INFO"
class BFCommands:
- """RedisBloom commands."""
+ """Bloom Filter commands."""
# region Bloom Filter Functions
def create(self, key, errorRate, capacity, expansion=None, noScale=None):
@@ -166,6 +166,7 @@ class BFCommands:
class CFCommands:
+ """Cuckoo Filter commands."""
# region Cuckoo Filter Functions
def create(
@@ -283,6 +284,8 @@ class CFCommands:
class TOPKCommands:
+ """TOP-k Filter commands."""
+
def reserve(self, key, k, width, depth, decay):
"""
Create a new Top-K Filter `key` with desired probability of false
@@ -432,6 +435,7 @@ class TDigestCommands:
class CMSCommands:
+ """Count-Min Sketch Commands"""
# region Count-Min Sketch Functions
def initbydim(self, key, width, depth):
diff --git a/redis/commands/graph/commands.py b/redis/commands/graph/commands.py
index f0c1d68..e097936 100644
--- a/redis/commands/graph/commands.py
+++ b/redis/commands/graph/commands.py
@@ -6,6 +6,8 @@ from .query_result import QueryResult
class GraphCommands:
+ """RedisGraph Commands"""
+
def commit(self):
"""
Create entire graph.