ITISFoundation / cookiecutter-osparc-service

A cookiecutter for integrating services in oSparc simcore platform
MIT License
0 stars 5 forks source link

Add possibility for optional inputs and input validation #30

Open KZzizzle opened 4 years ago

KZzizzle commented 4 years ago

USER STORY:

I would like to be able to mark an input as optional or mandatory with input validation before running the service. Right now, if an input expects (for example) a file and nothing is linked, there is no error message but the pipeline doesn't run.

DEFINITION OF DONE:

A clear and concise description of what the feature requires.

  1. Input validation based on the data type expected
  2. option to specify if an input is optional
  3. helpful error message if something in the sidecar does not work