Make library architecture composable and extensible.
What changes did you make? (overview)
Introduced the concept of loader and refactored load_from_sources to use Anyway.loaders—the registry of available data loaders.
Each loader is responsible for one particular data type (YML, env, credentials).
The Loaders API allows to add custom sources and change the order and/or behaviour of the existing ones.
What is the purpose of this pull request?
Make library architecture composable and extensible.
What changes did you make? (overview)
Introduced the concept of loader and refactored
load_from_sources
to useAnyway.loaders
—the registry of available data loaders. Each loader is responsible for one particular data type (YML, env, credentials).The Loaders API allows to add custom sources and change the order and/or behaviour of the existing ones.
Checklist