From e524efaa3e67fddfd27a2280926363b5d5b4a68a Mon Sep 17 00:00:00 2001 From: Johannes Nussbaum Date: Wed, 17 Apr 2024 10:12:00 +0200 Subject: [PATCH] type annotation --- dsp_permissions_scripts/oap/oap_set.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dsp_permissions_scripts/oap/oap_set.py b/dsp_permissions_scripts/oap/oap_set.py index 7ab48c05..d573d208 100644 --- a/dsp_permissions_scripts/oap/oap_set.py +++ b/dsp_permissions_scripts/oap/oap_set.py @@ -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):