EnvironmentConfigFetcher (autotransform.config.environment)

A config fetcher that utilizes environment variables for storing config settings.

class autotransform.config.environment.EnvironmentConfigFetcher

Bases: ConfigFetcher

A ConfigFetcher that utilizes environment variables as configuration storage. Environment variable names are of the form AUTO_TRANSFORM_<SETTING> using the settings from the Config class. The DefaultConfigFetcher will be used for fallbacks where environment variables are not present. Set AUTO_TRANSFORM_CONFIG_USE_FALLBACK to “False” if you do not want to use a fallback.

get_config() Config

Fetch the Config.

Returns:

The Config for AutoTransform.

Return type:

Config