@@ -212,18 +212,21 @@ def __new__(
212212 elif not disable_dependencies :
213213 _check_pysqa_config_directory (pysqa_config_directory = pysqa_config_directory )
214214 return _ExecutorWithDependencies (
215- max_workers = max_workers ,
216- backend = backend ,
217- cache_directory = cache_directory ,
215+ executor = _create_executor (
216+ max_workers = max_workers ,
217+ backend = backend ,
218+ cache_directory = cache_directory ,
219+ max_cores = max_cores ,
220+ resource_dict = resource_dict ,
221+ flux_executor = flux_executor ,
222+ flux_executor_pmi_mode = flux_executor_pmi_mode ,
223+ flux_executor_nesting = flux_executor_nesting ,
224+ flux_log_files = flux_log_files ,
225+ hostname_localhost = hostname_localhost ,
226+ block_allocation = block_allocation ,
227+ init_function = init_function ,
228+ ),
218229 max_cores = max_cores ,
219- resource_dict = resource_dict ,
220- flux_executor = flux_executor ,
221- flux_executor_pmi_mode = flux_executor_pmi_mode ,
222- flux_executor_nesting = flux_executor_nesting ,
223- flux_log_files = flux_log_files ,
224- hostname_localhost = hostname_localhost ,
225- block_allocation = block_allocation ,
226- init_function = init_function ,
227230 refresh_rate = refresh_rate ,
228231 plot_dependency_graph = plot_dependency_graph ,
229232 plot_dependency_graph_filename = plot_dependency_graph_filename ,
0 commit comments