ddd.application.config

API

class ddd.application.config.Config(env_file_path=None)

A class for holding the settings as defined by env file.

Extend ‘Config’ if you want to add config settings for your context.

We use ‘addict’ to be able to use dot-notation for referencing dict values.

_declare_settings()

Declare all settings as ‘None’.

_read_config()

Read settings from env vars into this object’s member variables.