class documentation
class Environment: (source)
Undocumented
Method | __init__ |
Undocumented |
Method | load |
Return a nested dict containing values from `os.environ`. |
Instance Variable | data |
Undocumented |
Method | _cast |
Undocumented |
Method | _crawl |
Examine config at location ``key_path`` & return potential env vars. |
Method | _path |
Undocumented |
Method | _path |
Undocumented |
Method | _to |
Undocumented |
Instance Variable | _config |
Undocumented |
Instance Variable | _prefix |
Undocumented |
Return a nested dict containing values from `os.environ`. Specifically, values whose keys map to already-known configuration settings, allowing us to perform basic typecasting. See :ref:`env-vars` for details.
Examine config at location ``key_path`` & return potential env vars. Uses ``env_vars`` dict to determine if a conflict exists, and raises an exception if so. This dict is of the following form:: { 'EXPECTED_ENV_VAR_HERE': ['actual', 'nested', 'key_path'], ... } Returns another dictionary of new keypairs as per above.