get_configs#

get_configs(cfg_module_path: str, runner: str | None = None, args: dict[str, any] | None = None) list[rastervision.pipeline.pipeline_config.PipelineConfig][source]#

Get PipelineConfigs from a module.

Calls a get_config(s) function with some arguments from the CLI to get a list of PipelineConfigs.

Parameters
  • cfg_module_path (str) – the module with get_configs function that returns PipelineConfigs. This can either be a Python module path or a local path to a .py file.

  • runner (str | None) – name of the runner

  • args (dict[str, any] | None) – CLI args to pass to the get_config(s) function that comes from the –args option

Return type

list[rastervision.pipeline.pipeline_config.PipelineConfig]