(self, dir: PathOrStr, fname: str, contents: Union[str, bytes, Callable])
| 199 | self.write_file(dir, self.CONFIG_FILENAME, OmegaConf.to_yaml(config, resolve=True)) |
| 200 | |
| 201 | def write_file(self, dir: PathOrStr, fname: str, contents: Union[str, bytes, Callable]) -> PathOrStr: |
| 202 | return write_file(dir, fname, contents, self.save_overwrite) |
| 203 | |
| 204 | def load( |
| 205 | self, |