summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshacharPash <shachar.pashchur@redis.com>2023-05-15 18:11:10 +0300
committershacharPash <shachar.pashchur@redis.com>2023-05-15 18:11:10 +0300
commit2ce2f93a32ab932db3c8c3c4ce59bf513440eadd (patch)
treedcef33f63de768c5ed544be88a494a9ad3c67079
parent9dfcd50d2cee5976ad20e231441bc90ba6751a8a (diff)
downloadredis-py-2ce2f93a32ab932db3c8c3c4ce59bf513440eadd.tar.gz
linters
-rw-r--r--redis/commands/json/commands.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/redis/commands/json/commands.py b/redis/commands/json/commands.py
index 42e3ef2..3b2f2a5 100644
--- a/redis/commands/json/commands.py
+++ b/redis/commands/json/commands.py
@@ -255,7 +255,9 @@ class JSONCommands:
def mset(self, name: str, path: str, obj: JsonType, *items) -> Optional[str]:
"""
- Set the JSON value at key ``name`` under the ``path`` to ``obj`` for one or more keys.
+ Set the JSON value at key ``name`` under the ``path`` to ``obj``
+ for one or more keys.
+
``items`` accepts a list of additional key/path/value to set.
For the purpose of using this within a pipeline, this command is also
@@ -271,7 +273,6 @@ class JSONCommands:
return self.execute_command("JSON.MSET", *pieces)
-
def merge(
self,
name: str,