docs: def get_class(class_path):
          """
          Returns an instance of a class by its class_path.
          :param class_path: contains modules and class name with dot delimited
          :return: Any
          """
          module_path, class_name = class_path.rsplit(".", 1)
  
          try:
              module = __import__(class_path, fromlist=[class_name])
          except ImportError:
              raise ValueError('Class {0} could not be imported'.format(class_path))
  
          try:
              cls = getattr(module, class_name)
          except AttributeError:
              raise ValueError("Module '%s' has no class '%s'" % (module_path, class_name,))
  
          try:
              instance = cls()
          except TypeError as type_error:
              raise ValueError('Failed to instantiate class {0}. Error: {1}'.format(class_name, type_error.message))
  
          return instance