Skip to content

Commit d32291a

Browse files
committed
add docstring
1 parent 7c3abf1 commit d32291a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

redis/cluster.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,9 @@ def fix_server(*args):
9393

9494

9595
def parse_cluster_shards(resp, **options):
96+
"""
97+
Parse CLUSTER SHARDS response.
98+
"""
9699
shards = []
97100
for x in resp:
98101
shard = {"slots": [], "nodes": []}

0 commit comments

Comments
 (0)