Skip to content

Commit

Permalink
bumping transpiler and pydantic versions,
Browse files Browse the repository at this point in the history
updating qnode_id->query_id to match new transpiler
  • Loading branch information
EvanDietzMorris committed Dec 15, 2023
1 parent b4fbbc5 commit 1ff8041
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions PLATER/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ pyaml==20.4.0
pytest==7.4.3
pytest-asyncio==0.21.1
uvicorn==0.24.0
reasoner-transpiler==2.0.3
reasoner-pydantic==4.1.5
reasoner-transpiler==2.0.4
reasoner-pydantic==4.1.6
httpx==0.25.1
pytest-httpx==0.26.0
jsonasobj==1.3.1
Expand Down
2 changes: 1 addition & 1 deletion PLATER/services/util/question.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def transform_attributes(self, trapi_message, graph_interface: GraphInterface):
for r in trapi_message.get("results", []):
for node_binding_list in r["node_bindings"].values():
for node_binding in node_binding_list:
query_id = node_binding.pop('qnode_id', None)
query_id = node_binding.pop('query_id', None)
if query_id != node_binding['id']:
node_binding['query_id'] = query_id
# add resource id
Expand Down

0 comments on commit 1ff8041

Please sign in to comment.