summaryrefslogtreecommitdiff
path: root/redis/commands/search/querystring.py
diff options
context:
space:
mode:
Diffstat (limited to 'redis/commands/search/querystring.py')
-rw-r--r--redis/commands/search/querystring.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/redis/commands/search/querystring.py b/redis/commands/search/querystring.py
index 1da0387..3ff1320 100644
--- a/redis/commands/search/querystring.py
+++ b/redis/commands/search/querystring.py
@@ -132,6 +132,9 @@ class GeoValue(Value):
self.radius = radius
self.unit = unit
+ def to_string(self):
+ return f"[{self.lon} {self.lat} {self.radius} {self.unit}]"
+
class Node:
def __init__(self, *children, **kwparams):