From c25b93ffd742cc406ba27be521ce813683f435c4 Mon Sep 17 00:00:00 2001 From: mgorsk1 Date: Thu, 18 Mar 2021 12:20:56 +0100 Subject: [PATCH] :bug: Fixing a bug. Signed-off-by: mgorsk1 --- rfcs/028-simplify-config-customization.md | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/rfcs/028-simplify-config-customization.md b/rfcs/028-simplify-config-customization.md index f737b86..f2c05bb 100644 --- a/rfcs/028-simplify-config-customization.md +++ b/rfcs/028-simplify-config-customization.md @@ -55,16 +55,7 @@ N/A ## Reference-level Explanation (aka Technical Details) 1. Add `get_config_class(component: string, base_class: Config) -> Config` method to amundsen common -2. Use `get_config_class` in each service, for example: - -```python -from amundsen.common.config import get_config_class - -_config_module_class = \ - os.getenv('METADATA_SVC_CONFIG_MODULE_CLASS') or _config_module_class - -config_module_class = get_config_class('metadata', _config_module_class) -``` +2. Use `get_config_class` in each service to render final config Pseudocode: