diff options
author | Frederick Muriuki Muriithi | 2024-12-03 10:49:15 -0600 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-12-03 10:49:15 -0600 |
commit | 0c59c583399ff0158d45c0bbdad61a056bd8fd6f (patch) | |
tree | 2d0ab8f2bd720e0d01e81433c15ec6330afa538e /uploader/phenotypes | |
parent | 1d9bb54f82fe36a7b38facb8c3b81f56b699dbda (diff) | |
download | gn-uploader-0c59c583399ff0158d45c0bbdad61a056bd8fd6f.tar.gz |
Cleanup linting and type (mypy) errors.
Diffstat (limited to 'uploader/phenotypes')
-rw-r--r-- | uploader/phenotypes/views.py | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/uploader/phenotypes/views.py b/uploader/phenotypes/views.py index b8c0e93..dd6ba7e 100644 --- a/uploader/phenotypes/views.py +++ b/uploader/phenotypes/views.py @@ -395,10 +395,14 @@ def add_phenotypes(species: dict, population: dict, dataset: dict, **kwargs):# p species_redirect_uri="species.populations.phenotypes.index", population_redirect_uri="species.populations.phenotypes.select_population", redirect_uri="species.populations.phenotypes.list_datasets") -def job_status(species: dict, population: dict, dataset: dict, job_id: uuid, **kwargs): +def job_status( + species: dict, + population: dict, + dataset: dict, + job_id: uuid.UUID, + **kwargs +):# pylint: disable=[unused-argument] """Retrieve current status of a particular phenotype QC job.""" - from uploader.debug import __pk__ - with Redis.from_url(app.config["REDIS_URL"], decode_responses=True) as rconn: try: job = jobs.job(rconn, jobs.jobsnamespace(), str(job_id)) |