def register_new_config(self, arjuna_options, user_options, parent_config=None): # Registering a config is post project conf registration. If no project conf, set it to true. self.__project_config_loaded = True reference = parent_config and parent_config._wrapped_config or self.__default_ref_config._wrapped_config conf = EditableConfig.from_maps(ref_config=reference, arjuna_options=arjuna_options, user_options=user_options) self.__update_config(conf) return conf
def __load_cli_dicts(self): self.__cli_config = EditableConfig.from_maps( ref_config=None, arjuna_options=self.__cli_config.arjuna_options, user_options=self.__cli_config.user_options, conf_stage=ConfigStage.CLI)