-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create a blog post about HydraConfigLoader #102
Comments
Hi @stichbury. I'm trying to create a config loader capable of handle nested configuration and this will be extremely helpful. |
@felipemonroy have you tried OmegaConfigLoader already? What would be the nested configuration looks like? |
Hi @noklam. By nested configuration I mean having configurations in cascade that overwrite the previous one if available. For instance I can have a global configuration, which is overwritten with the continent level ones if available, then by the country level, city level etc. My first approach was with separate envs but I end up writting the same several times and I would need one env per each combination. The second approach was to use hydra because it allows having duplicated configuration in separete folders. I was exploring OmegaConf and custom resolvers and I may end up with a parcial solution:
So in this example I defined a global configuration, then a continent level one and finally a country level (here I dont have the same country in two continents but in my use case I have that situation, that is the reason I have to concatenate continent and country). If the continent-country configuration is available it will use it, if not, it will try with the continent level and finally the global one. Could you please tell me if your HydraConfigLoader works better in this use case? |
@felipemonroy Thanks for sharing this. I was referring to Otherwise a combination of
|
We can share some of the code developed internally and explain the steps needed to create a plugin. With the intent that other teams would find it useful, create their own plugin, and maybe even open-source it for others.
kedro-org/kedro#1303 for background and also on Slack (bookmarked but not shared here as it's an QB/Labs team conversation).
The text was updated successfully, but these errors were encountered: