summaryrefslogtreecommitdiff
path: root/redis/commands/json
diff options
context:
space:
mode:
authorGreg Melton <gmelton@gmail.com>2022-05-30 05:45:42 -0700
committerGitHub <noreply@github.com>2022-05-30 15:45:42 +0300
commit48079083a7f6ac1bdd948c03175f9ffd42aa1f6b (patch)
tree30b29683a558e618ea80b1c68fc8d14498900dd1 /redis/commands/json
parent84418d62db0aef3178d5eecec47d5121ce82a1d4 (diff)
downloadredis-py-48079083a7f6ac1bdd948c03175f9ffd42aa1f6b.tar.gz
Fix Missing ClusterPipeline Lock (#2190)
* ClusterPipeline needs to initialize self._lock, otherwise a class instance will fail when calling get_redis_connection on the node * fix bad lint picked up from master * added change to CHANGES file * force ci build again * force ci build again
Diffstat (limited to 'redis/commands/json')
-rw-r--r--redis/commands/json/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/redis/commands/json/__init__.py b/redis/commands/json/__init__.py
index 638e4eb..39983be 100644
--- a/redis/commands/json/__init__.py
+++ b/redis/commands/json/__init__.py
@@ -113,6 +113,7 @@ class JSON(JSONCommands):
cluster_error_retry_attempts=self.client.cluster_error_retry_attempts,
read_from_replicas=self.client.read_from_replicas,
reinitialize_steps=self.client.reinitialize_steps,
+ lock=self.client._lock,
)
else: