Skip to content

Commit ba992af

Browse files
committed
fix type hints again
1 parent 44be424 commit ba992af

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

executorlib/interactive/create.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def create_executor(
146146
def 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(
193193
def 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(
228228
def 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

Comments
 (0)