Skip to content

Commit 9b76031

Browse files
committed
expecting result-set records to formatted as arrays
1 parent 5d5445a commit 9b76031

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

redisgraph/client.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,8 @@ def query(self, q):
143143
result_set = None
144144
response = self.redis_con.execute_command("GRAPH.QUERY", self.name, q)
145145

146-
data = response[0]
146+
result_set = response[0]
147147
statistics = response[1]
148-
result_set = [res.decode().split(',') for res in data]
149148

150149
return QueryResult(result_set, statistics)
151150

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from setuptools import setup, find_packages
22
setup(
33
name='redisgraph',
4-
version='1.3',
4+
version='1.4',
55

66
description='RedisGraph Python Client',
77
url='https://github.com/swilly22/redisgraph-py',

0 commit comments

Comments
 (0)