Skip to content
This repository was archived by the owner on Jan 9, 2024. It is now read-only.

Commit 018826d

Browse files
committed
enable the real mget command and will handle hashing myself
1 parent d154a7c commit 018826d

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

rediscluster/client.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -973,17 +973,17 @@ def scan_iter(self, match=None, count=None, _type=None):
973973
for r in resp:
974974
yield r
975975

976-
def mget(self, keys, *args):
977-
"""
978-
Returns a list of values ordered identically to ``keys``
979-
980-
Cluster impl:
981-
Itterate all keys and send GET for each key.
982-
This will go alot slower than a normal mget call in Redis.
983-
984-
Operation is no longer atomic.
985-
"""
986-
return [self.get(arg) for arg in list_or_args(keys, args)]
976+
# def mget(self, keys, *args):
977+
# """
978+
# Returns a list of values ordered identically to ``keys``
979+
#
980+
# Cluster impl:
981+
# Itterate all keys and send GET for each key.
982+
# This will go alot slower than a normal mget call in Redis.
983+
#
984+
# Operation is no longer atomic.
985+
# """
986+
# return [self.get(arg) for arg in list_or_args(keys, args)]
987987

988988
def mset(self, *args, **kwargs):
989989
"""

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
setup(
2222
name="redis-py-cluster-patched",
23-
version="2.1.0.999.7",
23+
version="2.1.0.999.8",
2424
description="Library for communicating with Redis Clusters. Built on top of redis-py lib",
2525
long_description=readme + '\n\n' + history,
2626
long_description_content_type="text/markdown",
@@ -30,7 +30,7 @@
3030
maintainer_email='Grokzen@gmail.com',
3131
packages=["rediscluster"],
3232
url='http://github.com/grokzen/redis-py-cluster',
33-
download_url="https://github.com/duke-cliff/redis-py-cluster/archive/2.1.0.999.7.tar.gz",
33+
download_url="https://github.com/duke-cliff/redis-py-cluster/archive/2.1.0.999.8.tar.gz",
3434
license='MIT',
3535
install_requires=[
3636
'redis>=3.0.0,<4.0.0'

0 commit comments

Comments
 (0)