From 1547fac7a44aa0635ae61fb203cf2157f268d8bd Mon Sep 17 00:00:00 2001 From: Guy Korland Date: Thu, 13 Aug 2020 10:34:08 +0300 Subject: [PATCH] reorg arguments to match python 2.7 fix #41 --- rejson/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rejson/client.py b/rejson/client.py index d8c806c..9de7886 100644 --- a/rejson/client.py +++ b/rejson/client.py @@ -98,7 +98,7 @@ def jsondel(self, name, path=Path.rootPath()): """ return self.execute_command('JSON.DEL', name, str_path(path)) - def jsonget(self, name, *args, no_escape=False): + def jsonget(self, name, no_escape=False, *args): """ Get the object stored as a JSON value at key ``name`` ``args`` is zero or more paths, and defaults to root path