habitat.config module

Contents

Functions

def get_config(config_paths: typing.Union[typing.List[str], str, None] = None, opts: typing.Optional[list] = None) -> habitat.config.default.Config
Create a unified config with default values overwritten by values from config_paths and overwritten by options from opts.

Function documentation

def habitat.config.get_config(config_paths: typing.Union[typing.List[str], str, None] = None, opts: typing.Optional[list] = None) -> habitat.config.default.Config

Create a unified config with default values overwritten by values from config_paths and overwritten by options from opts.

Parameters
config_paths List of config paths or string that contains comma separated list of config paths.
opts Config options (keys, values) in a list (e.g., passed from command line into the config. For example, opts = ['FOO.BAR', 0.5]. Argument can be used for parameter sweeping or quick tests.