Skip to content

Commit

Permalink
Appending ids of all nodes to the constraint node of query graph.
Browse files Browse the repository at this point in the history
  • Loading branch information
mohsenht committed Nov 6, 2024
1 parent 940fa32 commit eddf683
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,6 @@ def convert(self, response):
)

for key, values in sorted_occurrence_list_by_node_id.items():
if not response.envelope.message.query_graph.nodes[self.qnode_mid_id].ids:
response.envelope.message.query_graph.nodes[self.qnode_mid_id].ids = [key]
else:
response.envelope.message.query_graph.nodes[self.qnode_mid_id].ids.append(key)
new_path = []
for value in values:
new_path.append(self.paths[value])
Expand Down

0 comments on commit eddf683

Please sign in to comment.