diff options
author | Frederick Muriuki Muriithi | 2024-12-03 13:08:59 -0600 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-12-03 15:11:25 -0600 |
commit | 49d8ec6bb3caae91e5d8e4b5859ee4e4c0ed4dd6 (patch) | |
tree | 057d2ed293d05acda44a6c7a668b8ff022b71fd3 /uploader/phenotypes/views.py | |
parent | c6437873142ad90c6ce29dcf0e700e0e6a1c658a (diff) | |
download | gn-uploader-49d8ec6bb3caae91e5d8e4b5859ee4e4c0ed4dd6.tar.gz |
Fetch a jobs errors from its errors lists.
Diffstat (limited to 'uploader/phenotypes/views.py')
-rw-r--r-- | uploader/phenotypes/views.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/uploader/phenotypes/views.py b/uploader/phenotypes/views.py index dd6ba7e..74de3ea 100644 --- a/uploader/phenotypes/views.py +++ b/uploader/phenotypes/views.py @@ -3,6 +3,7 @@ import sys import uuid import json from pathlib import Path +from typing import Union from functools import wraps from logging import INFO, ERROR, DEBUG, FATAL, CRITICAL, WARNING @@ -414,4 +415,5 @@ def job_status( dataset=dataset, job_id=job_id, job=job, + errors=jobs.job_errors(rconn, jobs.jobsnamespace(), job['jobid']), activelink="add-phenotypes") |