I need a function which will allow setting a nested value in YAML file. For instance, for a YAML like:
- LEVEL_1:
- LEVEL_2:
- LEVEL_3: some_value
- LEVEL_2:
I would do something like: update_yaml_value("LEVEL_1.LEVEL_2.LEVEL_3", "new_value")
I'd appreciate any help. Thanks in advance.