ConfigFetcher (autotransform.config.fetcher)

A base class for configuration fetching. Defines the API for fetching configuration so that different components can be used that store configuration in different ways.

class autotransform.config.fetcher.ConfigFetcher

Bases: object

An object representing the API needed for config fetching.

abstract get_config() Config

Fetch the Config.

Returns

The Config for AutoTransform.

Return type

Config

class autotransform.config.fetcher.ConfigFetcherName(value)

Bases: str, Enum

A simple enum for mapping.

DEFAULT = 'default'
ENVIRONMENT = 'environment'