cyclops
cyclops copied to clipboard
Fix import_optional_module function to return NoneType
PR Type ([Feature | Fix | Documentation | Test])
Fix
Short Description
The import_optional_module currently returns None when a module cannot be imported and the error
parameter is set to ignore
. When we use isinstance
this doesn't work, so introducing an option to return NoneType
.
Tests Added
...