Skip to content
This repository was archived by the owner on Jun 3, 2025. It is now read-only.

Commit bf67f08

Browse files
Georgebfineran
authored andcommitted
fix type hints (#445)
1 parent a52cda5 commit bf67f08

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sparsezoo/utils/download.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def queue_chunk_download_jobs(self) -> None:
148148
The jobs need to be executed by a worker or scheduler that processes the
149149
queued JobQueues.
150150
"""
151-
download_jobs: Queue[Job] = JobQueue(description="Downloading Chunks")
151+
download_jobs: Queue = JobQueue(description="Downloading Chunks")
152152
num_download_jobs = math.ceil(self.file_size / self.chunk_bytes)
153153

154154
for job_id in range(num_download_jobs):
@@ -278,7 +278,7 @@ def run(self, num_threads: int = 10) -> None:
278278
future.result()
279279
is_prev_job_queue_success = True
280280

281-
def execute_job_from_queue(self, job_queue: Queue[Job], **kwargs) -> None:
281+
def execute_job_from_queue(self, job_queue: Queue, **kwargs) -> None:
282282
"""
283283
Executes a single job from the given job queue, managing retries and
284284
synchronization.

0 commit comments

Comments
 (0)