code: def _settings_from_env(self):
          
          return {attr: self._val_from_env(env, attr)
                  for env, attr in const.ENV_TO_ATTR.items()
                  if env in os.environ}
docs: Loads settings from env.