@@ -146,7 +146,7 @@ def create_executor(
146146def create_flux_allocation_executor (
147147 max_workers : Optional [int ] = None ,
148148 max_cores : Optional [int ] = None ,
149- cores_per_worker : Optional [ int ] = 1 ,
149+ cores_per_worker : int = 1 ,
150150 resource_dict : dict = {},
151151 flux_executor = None ,
152152 flux_executor_pmi_mode : Optional [str ] = None ,
@@ -193,7 +193,7 @@ def create_flux_allocation_executor(
193193def create_slurm_allocation_executor (
194194 max_workers : Optional [int ] = None ,
195195 max_cores : Optional [int ] = None ,
196- cores_per_worker : Optional [ int ] = 1 ,
196+ cores_per_worker : int = 1 ,
197197 resource_dict : dict = {},
198198 block_allocation : bool = False ,
199199 init_function : Optional [Callable ] = None ,
@@ -228,7 +228,7 @@ def create_slurm_allocation_executor(
228228def create_local_executor (
229229 max_workers : Optional [int ] = None ,
230230 max_cores : Optional [int ] = None ,
231- cores_per_worker : Optional [ int ] = 1 ,
231+ cores_per_worker : int = 1 ,
232232 resource_dict : dict = {},
233233 block_allocation : bool = False ,
234234 init_function : Optional [Callable ] = None ,
0 commit comments