Modify the config section by recursively updating it with new_data. Returns the modified config data as a dictionary.
(self, section_name: str, new_data: Any)
| 74 | json.dump(data, f, indent=2) |
| 75 | |
| 76 | def update(self, section_name: str, new_data: Any) -> Any: |
| 77 | """Modify the config section by recursively updating it with new_data. |
| 78 | |
| 79 | Returns the modified config data as a dictionary. |
| 80 | """ |
| 81 | data = self.get(section_name) |
| 82 | recursive_update(data, new_data) |
| 83 | self.set(section_name, data) |
| 84 | return data |
nothing calls this directly
no test coverage detected