def METHOD_NAME(
    self, config: RadicaleConfiguration, settings: dict
) -> dict:
    """
    Get settings params beginning with
    "RADICALE_MAIN_SECTION.RADICALE_SUBMAIN_SECTION." to radicale config.
    """
    update_config = {}
    radicales_params = sliced_dict(
        data=settings,
        beginning_key_string="{}.{}.".format(RADICALE_MAIN_SECTION, RADICALE_SUBMAIN_SECTION),
    )
    for param_name, value in radicales_params.items():
        parameter_parts = param_name.split(".")
        assert len(parameter_parts) == 4
        (
            main_section,
            sub_main_section,
            radicale_section,
            radicale_param_config,
        ) = parameter_parts
        assert main_section == "caldav"
        assert sub_main_section == "radicale"
        if not update_config.get(radicale_section):
            update_config[radicale_section] = {}
        logger.debug(
            self,
            "Prepare overriding radicale config: {} : {}".format(param_name, value),
        )
        update_config[radicale_section][radicale_param_config] = value
    logger.debug(self, "Overriding radicale config")
    return update_config