MaastrichtU-IDS / trapi-predict-kit

🧰 A package to help create and deploy Translator Reasoner APIs (TRAPI) from any prediction model exposed as a regular python function.
https://maastrichtu-ids.github.io/trapi-predict-kit
MIT License
1 stars 2 forks source link

Fix TRAPI 1.5 critical validation errors regarding missing attributes #2

Closed CaseyTa closed 4 months ago

CaseyTa commented 4 months ago

Fix TRAPI 1.5 critical validation errors regarding missing attributes in (KG) nodes and results node bindings and edge bindings

In TRAPI 1.5, attributes are now required and expected to be non-null but can have 0 items.

CaseyTa commented 4 months ago

@micheldumontier @renayang2023 Could you please review? OpenPredict is failing integration with CQS after the call from Workflow Runner due to "critical" TRAPI validation errors in OpenPredict's response. Changes have been tested on my local deployment of OpenPredict.

renayang2023 commented 4 months ago

@micheldumontier @renayang2023 Could you please review? OpenPredict is failing integration with CQS after the call from Workflow Runner due to "critical" TRAPI validation errors in OpenPredict's response. Changes have been tested on my local deployment of OpenPredict.

@CaseyTa Thanks, Casey. I approved the changes. It seems that one workflow is still awaiting approval from those with write access to merge pull requests.