def METHOD_NAME(self, section, default_settings):
    """
    Get all the settings from a given section.
    :param section: section name
    :param default_settings: setting names and default values (dict)
    :returns: settings (dict)
    """
    if section not in self._config:
        self._config[section] = {}
    settings = {}
    for name, default in default_settings.items():
        if isinstance(default, bool):
            settings[name] = self._config[section].getboolean(name, default)
        elif isinstance(default, int):
            settings[name] = self._config[section].getint(name, default)
        elif isinstance(default, float):
            settings[name] = self._config[section].getfloat(name, default)
        else:
            settings[name] = self._config[section].get(name, default)
            if settings[name] == "None":
                settings[name] = None
    # sync with the config file
    self.saveSettings(section, settings)
    return settings