(self, dotpath: str)
| 155 | yaml.dump(data, f, default_flow_style=False, allow_unicode=True) |
| 156 | |
| 157 | def get(self, dotpath: str) -> Any: |
| 158 | data = self.load() |
| 159 | for k in dotpath.split("."): |
| 160 | if not isinstance(data, dict): |
| 161 | return None |
| 162 | data = data.get(k) |
| 163 | return data |
| 164 | |
| 165 | def set(self, dotpath: str, value: Any): |
| 166 | data = self.load() |
no test coverage detected