Closed micheldumontier closed 3 months ago
ok, i see from the documentation on this project that the call is:
def get_predictions(request: PredictInput) -> PredictOutput:
instead of the cookiecutter output of
def get_predictions(
input_id: str, options: Optional[PredictOptions] = None
) -> PredictOutput:
The cookiecutter code needs to be modified: https://github.com/MaastrichtU-IDS/cookiecutter-trapi-predict-kit/blob/main/%7B%7Bcookiecutter.package_name%7D%7D/src/%7B%7Bcookiecutter.module_name%7D%7D/predict.py
@vemonet
out of the box :
if i comment out the @trapi_predict annotation, the code runs though. any ideas?