Import errors when modules are deleted
Modules that import items from a deleted module will return errors.
When a module is deleted, any other module that imports items from the deleted module will return errors because the imported items can no longer be found.
For example, suppose you have a module called function_library that contains a set of custom functions for your team. These custom functions are imported into a module called team_analysis.
If the function_library module is deleted, the imports into the team_analysis module will no longer occur and any searches dependent on the custom functions will fail.
You can't undo or recover the deleted module. However, you can recreate the functions in a new module and change the import statements in the team_analysis module to point to the new module.