about summary refs log tree commit diff
path: root/uploader/jobs.py
diff options
context:
space:
mode:
Diffstat (limited to 'uploader/jobs.py')
-rw-r--r--uploader/jobs.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/uploader/jobs.py b/uploader/jobs.py
index 270028a..90e3dc2 100644
--- a/uploader/jobs.py
+++ b/uploader/jobs.py
@@ -10,9 +10,10 @@ from datetime import timedelta
 from typing import Union, Optional
 
 from redis import Redis
-from functional_tools import take
 from flask import current_app as app
 
+from functional_tools import take
+
 JOBS_PREFIX = "jobs"
 
 class JobNotFound(Exception):
@@ -138,7 +139,7 @@ def job_errors(
         prefix: str,
         job_id: Union[str, uuid.UUID],
         count: int = 100
-) -> tuple[dict, ...]:
+) -> list:
     """Fetch job errors"""
     return take(
         (