Skip to content

Commit

Permalink
type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
jnussbaum committed Apr 17, 2024
1 parent a1a4347 commit e524efa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dsp_permissions_scripts/oap/oap_set.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def _write_failed_res_iris_to_file(


def _launch_thread_pool(oaps: list[Oap], nthreads: int, dsp_client: DspClient) -> list[str]:
all_failed_iris = []
all_failed_iris: list[str] = []
with ThreadPoolExecutor(max_workers=nthreads) as pool:
jobs = [pool.submit(_update_batch, batch, dsp_client) for batch in itertools.batched(oaps, 100)]
for result in as_completed(jobs):
Expand Down

0 comments on commit e524efa

Please sign in to comment.