qnbhd / mljet

Minimalistic ML-models auto deployment tool
MIT License
67 stars 4 forks source link

Handle request with empty list exceptions #79

Open qnbhd opened 1 year ago

qnbhd commented 1 year ago

Related: https://github.com/qnbhd/deployme/issues/91

If, with the current implementation, send a request of the form:

{
    "data": []
}

or

{
    "data": [[]]
}

different models may respond differently to this request. you need to add error handling and maybe write a fuzzy test.

СС: @pacifikus