def get_run(self, run_id): if self.validate_run(run_id): run = Archive.get_run(run_id, self._path) return self.structure_metrics(run)
def test_get_run(test_file): data = Archive.get_run('12345678', test_file[:-53]) assert data == [[['loss', 255]]]