浏览代码

remove type ignore

Toan Quach 10 月之前
父节点
当前提交
9d869131f2
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      taipy/core/_orchestrator/_dispatcher/_standalone_job_dispatcher.py

+ 1 - 1
taipy/core/_orchestrator/_dispatcher/_standalone_job_dispatcher.py

@@ -35,7 +35,7 @@ class _StandaloneJobDispatcher(_JobDispatcher):
         max_workers = Config.job_config.max_nb_of_workers or self._DEFAULT_MAX_NB_OF_WORKERS
         self._executor: Executor = ProcessPoolExecutor(
             max_workers=max_workers, initializer=subproc_initializer, mp_context=mp.get_context("spawn")
-        )  # type: ignore
+        )
         self._nb_available_workers = self._executor._max_workers  # type: ignore
 
     def _can_execute(self) -> bool: