From 776dcc4f28e0dea0bc26cc3dfce73edbc84b155f Mon Sep 17 00:00:00 2001 From: Salomon Popp Date: Mon, 29 Jul 2024 17:00:13 +0200 Subject: [PATCH] Improve incomplete type hints --- kpops/pipeline/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kpops/pipeline/__init__.py b/kpops/pipeline/__init__.py index c874801aa..d6b545c94 100644 --- a/kpops/pipeline/__init__.py +++ b/kpops/pipeline/__init__.py @@ -109,7 +109,7 @@ def build_execution_graph( async def run_parallel_tasks( coroutines: list[Coroutine[Any, Any, None]], ) -> None: - tasks = [] + tasks: list[asyncio.Task[None]] = [] for coro in coroutines: tasks.append(asyncio.create_task(coro)) await asyncio.gather(*tasks)