Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions redisgraph/query_result.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ def parse_edge(self, cell):
def parse_scalar(self, cell):
scalar_type = int(cell[0])
value = cell[1]
scalar = None

if scalar_type == ResultSetScalarTypes.PROPERTY_NULL:
scalar = None
Expand All @@ -127,6 +128,7 @@ def parse_scalar(self, cell):
scalar = int(value)

elif scalar_type == ResultSetScalarTypes.PROPERTY_BOOLEAN:
value = value.decode() if isinstance(value, bytes) else value
if value == "true":
scalar = True
elif value == "false":
Expand Down