Skip to content

test-args patch

Ignacio Heredia Cachá requested to merge test-args-patch into master

To be merged at 1.0 release because the test-args patch commit is breaking functionality (even with respect to the old test args branch, merged at 0.5).

Commit name: test-args patch

This is a patch to be consistent with the previous version of DEEPaaS, in which we returned a list of len 1 (because of the Swagger bug) for the args['files'] parameter in the predict_data method.

I forgot to add this in the test-args branch and was returning directly a FileStorage object (not a list of FileStorage objects).

Commit name: fix test args parser

This is a patch to fig a bug in test parser that keep piling up the test args of the previous modules.

For example if the module loading order is image-classification and then satellites, the image classification predict method module would show the test args of image-classification but the satellites predict method would show the test args of both satellites and image-classification.

Merge request reports

Loading