def load(self):
        module = importlib.import_module(self.import_path)
        if self.attr:
            return getattr(module, self.attr)
        return module
load and return the module/attribute.
dataset/ETHPy150Open softlayer/softlayer-python/SoftLayer/CLI/environment.py/ModuleLoader.load