diff --git a/openml/runs/functions.py b/openml/runs/functions.py index 75206f7ab..32c6166c8 100644 --- a/openml/runs/functions.py +++ b/openml/runs/functions.py @@ -1183,7 +1183,9 @@ def __list_runs(api_call): 'task_id': int(run_['oml:task_id']), 'setup_id': int(run_['oml:setup_id']), 'flow_id': int(run_['oml:flow_id']), - 'uploader': int(run_['oml:uploader'])} + 'uploader': int(run_['oml:uploader']), + 'upload_time': str(run_['oml:upload_time']), + 'error_message': str((run_['oml:error_message']) or '')} runs[run_id] = run diff --git a/tests/test_runs/test_run_functions.py b/tests/test_runs/test_run_functions.py index 20f9ba1f7..398b33c06 100644 --- a/tests/test_runs/test_run_functions.py +++ b/tests/test_runs/test_run_functions.py @@ -1316,7 +1316,7 @@ def test_get_run(self): def _check_run(self, run): self.assertIsInstance(run, dict) - self.assertEqual(len(run), 5) + self.assertEqual(len(run), 7) def test_get_runs_list(self): # TODO: comes from live, no such lists on test