def create_search_path( search_path: List[str] = [], abspath: bool = False ) -> ConfigSearchPath: csp = ConfigSearchPath() csp.append("hydra", "pkg://hydra.conf") for sp in search_path: csp.append("test", sp if not abspath else os.path.realpath(sp)) return csp
def manipulate_search_path(self, search_path: ConfigSearchPath) -> None: search_path.append("combined_core_lib_config", "pkg://config") search_path.append("combined_core_lib_compose", "pkg://hydra_docker-compose.yaml")
def manipulate_search_path(self, search_path: ConfigSearchPath) -> None: # Appends the search path for this plugin to the end of the search path search_path.append("test_core_lib_config", "pkg://config") search_path.append("test_core_lib_compose", "pkg://hydra_docker-compose.yaml")
def create_search_path( base_list: List[Tuple[Optional[str], Optional[str]]] ) -> ConfigSearchPath: csp = ConfigSearchPath() csp.config_search_path = [SearchPath(x[0], x[1]) for x in base_list] return csp
def create_config_search_path(path: str) -> ConfigSearchPath: csp = ConfigSearchPath() csp.append(provider="test", path=path) return csp
def create_search_path(base_list): csp = ConfigSearchPath() csp.config_search_path = [SearchPath(x[0], x[1]) for x in base_list] return csp
def manipulate_search_path(self, search_path: ConfigSearchPath) -> None: # Appends the search path for this plugin to the end of the search path search_path.append( "hydra-example-launcher", "pkg://hydra_plugins.example_launcher.conf" )
def manipulate_search_path(self, search_path: ConfigSearchPath): search_path.append("meta-blocks", "pkg://meta_blocks.experiment.conf")
def manipulate_search_path(self, search_path: ConfigSearchPath) -> None: # Appends the search path for this plugin to the end of the search path search_path.append("hydra-colorlog", "pkg://hydra_plugins.hydra_colorlog.conf")