sherlockpipe.loading.common.extract_custom_class
- sherlockpipe.loading.common.extract_custom_class(module_path: str) object
Given a module path, it loads it dynamically and extracts its inner class, assuming that the module and the class have the same name.
- Parameters:
module_path (str) – the module directory
- Return object:
the class module object