cyclops icon indicating copy to clipboard operation
cyclops copied to clipboard

Fix import_optional_module function to return NoneType

Open amrit110 opened this issue 2 months ago • 3 comments

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

...

amrit110 avatar Apr 29 '24 18:04 amrit110