save the graph list and the labels
(self)
| 170 | return 1 |
| 171 | |
| 172 | def save(self): |
| 173 | """save the graph list and the labels""" |
| 174 | save_graphs(str(self.graph_path), self._g) |
| 175 | save_info( |
| 176 | str(self.info_path), |
| 177 | {"num_nodes": self.num_nodes, "num_rels": self.num_rels}, |
| 178 | ) |
| 179 | |
| 180 | def load(self): |
| 181 | graphs, _ = load_graphs(str(self.graph_path)) |
nothing calls this directly
no test coverage detected