diff options
author | Chayim <chayim@users.noreply.github.com> | 2021-11-04 13:20:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-04 13:20:31 +0200 |
commit | 8d3c61598706eb049caa66a23501018f2f416673 (patch) | |
tree | 0aa3430a7ad3b1a9212194043a9e08c187ecd9fe /redis/commands/json/commands.py | |
parent | 72b49263f86f32c9df945433f21d3f3a7444d1a0 (diff) | |
download | redis-py-8d3c61598706eb049caa66a23501018f2f416673.tar.gz |
Support for json multipath ($) (#1663)
Diffstat (limited to 'redis/commands/json/commands.py')
-rw-r--r-- | redis/commands/json/commands.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/redis/commands/json/commands.py b/redis/commands/json/commands.py index fb00e22..716741c 100644 --- a/redis/commands/json/commands.py +++ b/redis/commands/json/commands.py @@ -1,5 +1,5 @@ from .path import Path -from .helpers import decode_dict_keys +from .decoders import decode_dict_keys from deprecated import deprecated from redis.exceptions import DataError @@ -192,7 +192,7 @@ class JSONCommands: the key name, the path is determined to be the first. If a single option is passed, then the rootpath (i.e Path.rootPath()) is used. """ - pieces = [name, str(path), value] + pieces = [name, str(path), self._encode(value)] return self.execute_command( "JSON.STRAPPEND", *pieces ) |