docs: def config(settings):
      """
      将配置文件转为Parameter
      :param settings:
      :return:
      """
      parameter_settings = Parameter()
      for k, v in settings.items():
          if isinstance(v, OrderedDict):
              k_settings = Parameter()
              for ki, vi in v.items():
                  k_settings[ki] = vi
          else:
              k_settings = v
          parameter_settings[k] = k_settings
  
      return parameter_settings