pyhocon
pyhocon copied to clipboard
Support updating value using full path and config['a.b.c'] = 5
I have added an interface called add(key, value), where key can be dot separated strings. Does it solve this issue? I have tried to redefine __setattr__ or __setitem__, but it seems there is some subtle problem. I will come back to it when I am available.
Currently config.put(key, value) seems to work, like config.put('a.b.c', 5), but not __setitem__.