Skip to content

Commit

Permalink
fix type hints (#445)
Browse files Browse the repository at this point in the history
  • Loading branch information
horheynm authored and bfineran committed Feb 13, 2024
1 parent a52cda5 commit bf67f08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sparsezoo/utils/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def queue_chunk_download_jobs(self) -> None:
The jobs need to be executed by a worker or scheduler that processes the
queued JobQueues.
"""
download_jobs: Queue[Job] = JobQueue(description="Downloading Chunks")
download_jobs: Queue = JobQueue(description="Downloading Chunks")
num_download_jobs = math.ceil(self.file_size / self.chunk_bytes)

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

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

0 comments on commit bf67f08

Please sign in to comment.