(
        self,
        config_name: Optional[str],
        overrides: List[str],
        run_mode: RunMode,
        with_log_configuration: bool = False,
        from_shell: bool = True,
    )
return cfg
:param config_name:
        :param overrides:
        :param run_mode: compose config for run or for multirun?
        :param with_log_configuration: True to configure logging subsystem from the loaded config
        :param from_shell: True if the parameters are passed from the shell. used for more helpful error messages
        :return:
:param config_name:
        :param overrides:
        :param run_mode: compose config for run or for multirun?
        :param with_log_configuration: True to configure logging subsystem from the loaded config
        :param from_shell: True if the parameters are passed from the shell. used for more helpful error messages
        :return:
: param config_name : : param overrides : : param run_mode : compose config for run or for multirun? : param with_log_configuration : True to configure logging subsystem from the loaded config : param from_shell : True if the parameters are passed from the shell . used for more helpful error messages : return :
def compose_config(
        self,
        config_name: Optional[str],
        overrides: List[str],
        run_mode: RunMode,
        with_log_configuration: bool = False,
        from_shell: bool = True,
    ) -> DictConfig:
        """
        :param config_name:
        :param overrides:
        :param run_mode: compose config for run or for multirun?
        :param with_log_configuration: True to configure logging subsystem from the loaded config
        :param from_shell: True if the parameters are passed from the shell. used for more helpful error messages
        :return:
        """

        cfg = self.config_loader.load_configuration(
            config_name=config_name,
            overrides=overrides,
            run_mode=run_mode,
            from_shell=from_shell,
        )
        if with_log_configuration:
            configure_log(cfg.hydra.hydra_logging, cfg.hydra.verbose)
            global log
            log = logging.getLogger(__name__)
            self._print_debug_info(config_name, overrides)
        return cfg
def compose_config ( self , config_name : Optional [ str ] , overrides : List [ str ] , run_mode : RunMode , with_log_configuration : bool = False , from_shell : bool = True , ) -> DictConfig : cfg = self . config_loader . load_configuration ( config_name = config_name , overrides = overrides , run_mode = run_mode , from_shell = from_shell , ) if with_log_configuration : configure_log ( cfg . hydra . hydra_logging , cfg . hydra . verbose ) global log log = logging . getLogger ( __name__ ) self . _print_debug_info ( config_name , overrides ) return cfg