Dump a representation of self to its YAML data file
(self)
| 119 | return dct |
| 120 | |
| 121 | def dump(self): |
| 122 | """ |
| 123 | Dump a representation of self to its YAML data file |
| 124 | """ |
| 125 | as_yaml = saneyaml.dump(self.to_dict()) |
| 126 | with io.open(self.data_file, 'w', encoding='utf-8') as df: |
| 127 | df.write(as_yaml) |
| 128 | |
| 129 | def get_content(self): |
| 130 | """ |
no test coverage detected