knime / knimepy

Other
44 stars 15 forks source link

Implements a warning if input is not set (set to None) #26

Closed applio closed 3 years ago

applio commented 3 years ago

This implements the changes called for in issue #24 with added relevant tests.

It is hoped that this will benefit users who mistakenly forget to set one or more inputs (for corresponding Container Input nodes in a KNIME Workflow), saving them valuable time. Implemented with functionality from the Python standard library's warnings module, it should also be easily suppressed in situations where not supplying an input data table is desired.