config_get

config_get(value=None, py_config_active=None, file='config.yaml', encoding=None)

Get a value from the config.yaml file.

Read from the currently active configuration, retrieving either a single named value or all values as a list.

Parameters

Name Type Description Default
value str Name of value (None to read all values) None
py_config_active str Name of configuration to read from. Defaults to the value of the R_CONFIG_ACTIVE environment variable (“default” if the variable does not exist). None
file str Configuration file to read from. 'config.yaml'
encoding str Encoding to use when reading the file. Defaults to “utf-8”. None