Configuration

Contain the dictionaries of configurations for all needed services.

class config.Config

Load important informations from environmental variables.

We load the information (secret keys, access keys, paths to public/private keys, etc.) from the environment. Pipenv already loads from the environment and from the .env files.

__init__()

Load environmental variables into self.

Raises

MissingConfigError exception if any of the env variables aren’t found

exception config.MissingConfigError(missing_config_fields)

Exception representing an error while loading credentials.

__init__(missing_config_fields)

Initialize a new MissingConfigError.

Parameters

missing_config_fields – the missing config variables