Skip to content

Commit

Permalink
Merge pull request #2273 from RTXteam/issue-rtx-kg2-376
Browse files Browse the repository at this point in the history
adding empty attribute list onto NodeBindings #2272
  • Loading branch information
kvnthomas98 committed Apr 26, 2024
2 parents b2cd8e9 + b01429b commit 348e8c2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion code/ARAX/ARAXQuery/ARAX_resultify.py
Expand Up @@ -733,7 +733,8 @@ def _get_results_for_kg_by_qg(kg: KnowledgeGraph, # all nodes *must
for qnode_key, node_keys in result_graph['nodes'].items():
node_bindings[qnode_key] = [NodeBinding(id=node_key,
query_id=_get_query_id(node_key, kg.nodes[node_key], qnode_key,
qnodes_with_ids))
qnodes_with_ids),
attributes=[])
for node_key in node_keys]
edge_bindings = dict()
for qedge_key, edge_keys in result_graph['edges'].items():
Expand Down

0 comments on commit 348e8c2

Please sign in to comment.