diff options
author | Andy McCurdy <andy@andymccurdy.com> | 2016-07-09 23:23:39 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-09 23:23:39 -0400 |
commit | ae485bc069cded59dec8de79086fea5631c02402 (patch) | |
tree | 7173063eb67f761038ba491d0a720f1044a0d0e2 | |
parent | f71a32466efa5814566bf779805e2d19c9cc9605 (diff) | |
parent | ab550a4c82b1a5007d2a698c2e91e78e165378de (diff) | |
download | redis-py-ae485bc069cded59dec8de79086fea5631c02402.tar.gz |
Merge pull request #759 from alexdebrie/fix/georadius-arguments
Fix transposition of GEORADIUS arguments
-rwxr-xr-x | redis/client.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/redis/client.py b/redis/client.py index 765eb87..bfcb0f8 100755 --- a/redis/client.py +++ b/redis/client.py @@ -2106,7 +2106,7 @@ class StrictRedis(object): """ return self.execute_command('GEOPOS', name, *values) - def georadius(self, name, latitude, longitude, radius, unit=None, + def georadius(self, name, longitude, latitude, radius, unit=None, withdist=False, withcoord=False, withhash=False, count=None, sort=None, store=None, store_dist=None): """ @@ -2138,7 +2138,7 @@ class StrictRedis(object): destination score is set with the distance. """ return self._georadiusgeneric('GEORADIUS', - name, latitude, longitude, radius, + name, longitude, latitude, radius, unit=unit, withdist=withdist, withcoord=withcoord, withhash=withhash, count=count, sort=sort, store=store, |