Skip to content

Commit

Permalink
🐛 Fixing a bug.
Browse files Browse the repository at this point in the history
Signed-off-by: mgorsk1 <[email protected]>
  • Loading branch information
mgorsk1 committed Mar 18, 2021
1 parent 931342e commit c25b93f
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions rfcs/028-simplify-config-customization.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit c25b93f

Please sign in to comment.