code: def import_class(self, import_name):
          
          module_name, class_name = import_name.rsplit(".", 1)
          mod = import_module(module_name)
          check_class = getattr(mod, class_name)
          self.mapping[check_class.name] = check_class
          logger.info("successfully loaded class %s", check_class)
          return check_class
docs: import selected class
  
          :param import_name, str, e.g. some.module.MyClass
          :return the class