retrieve_default_configs module

retrieve_default_configs.retrieve_default_configs(pattern='*.yaml', dir=None, verbose=True)

Retrieve default YAML configurations.

Parameters:
  • pattern (str) – The glob pattern to match filenames. Defaults to ‘*.yaml’ to match all YAML files.

  • dir (str) – The directory containing the configuration files. If not provided, the default directory is used.

  • verbose (bool) – Whether to print the list of configuration files. Defaults to True.

Returns:

A list of paths to YAML files relative to the package. Only the basename of the file is included.

Return type:

list of str