Skip to content

Commit 88d50cc

Browse files
Gnaneshswilly22
Gnanesh
authored andcommitted
Pass edge_id too (#36)
1 parent 1adff89 commit 88d50cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redisgraph/query_result.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def parse_edge(self, cell):
111111
src_node_id = float(cell[2])
112112
dest_node_id = float(cell[3])
113113
properties = self.parse_entity_properties(cell[4])
114-
return Edge(src_node_id, relation, dest_node_id, properties=properties)
114+
return Edge(src_node_id, relation, dest_node_id, edge_id=edge_id, properties=properties)
115115

116116
def parse_scalar(self, cell):
117117
scalar_type = int(cell[0])

0 commit comments

Comments
 (0)