Skip to content

Commit

Permalink
remove type ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
Toan Quach authored and Toan Quach committed Jul 12, 2024
1 parent 53e4816 commit 9d86913
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def __init__(self, orchestrator: _AbstractOrchestrator, subproc_initializer: Opt
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:
Expand Down

0 comments on commit 9d86913

Please sign in to comment.