Environment configuration¶
You can set your package's default environmental config in my-package/__init__.py
.
def default_config():
"""Returns the default values for configuration parameters for this package
The resulting configuration will be available under
`lime_config.config['plugins']['{{ cookiecutter.lib_name }}']`
The values here can be overridden in the service's config file.
"""
return {}
The default config will be loaded in case there is no configuration entry in the config.yml, and will also serve as "documentation" for your package's configuration requirements.
Code example: