You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What problem or use case are you trying to solve?
Ability to create my own section : foo in config.toml, allowing me to access variable like this
config.extended.foo.var1
config.extended.foo.var2
Section will look like this
[foo]
var1 = val1
var2 = val2
Describe the UX of the solution you'd like
As a OH extender I am able to create my own personal section in the config.toml file
as a OH extener, I am able to retrieve the variable defined in my own section in config.toml
Do you have thoughts on the technical implementation?
Read the section name, create a new dict in config, read each var/val and add them to the dict
Describe alternatives you've considered
Using ENV variables work, I will still use ENV variable for secret values and not store them in config,toml
Additional context
possible code
elif not key.startswith('sandbox') and key.lower() != 'core':
(...)
extended_config = ExtendedConfig.add_dict(key, value)
cfg.extended.add(key, extended_config)
The text was updated successfully, but these errors were encountered:
What problem or use case are you trying to solve?
Ability to create my own section : foo in config.toml, allowing me to access variable like this
Section will look like this
Describe the UX of the solution you'd like
As a OH extender I am able to create my own personal section in the config.toml file
as a OH extener, I am able to retrieve the variable defined in my own section in config.toml
Do you have thoughts on the technical implementation?
Read the section name, create a new dict in config, read each var/val and add them to the dict
Describe alternatives you've considered
Using ENV variables work, I will still use ENV variable for secret values and not store them in config,toml
Additional context
possible code
The text was updated successfully, but these errors were encountered: