Skip to content

Commit

Permalink
add docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
dvora-h committed May 3, 2022
1 parent 7c3abf1 commit d32291a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions redis/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ def fix_server(*args):


def parse_cluster_shards(resp, **options):
"""
Parse CLUSTER SHARDS response.
"""
shards = []
for x in resp:
shard = {"slots": [], "nodes": []}
Expand Down

0 comments on commit d32291a

Please sign in to comment.