Skip to content

Commit 059f888

Browse files
committed
fix type hints
1 parent e853e12 commit 059f888

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

executorlib/task_scheduler/file/task_scheduler.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ def __init__(
6363
if execute_function == execute_in_subprocess and terminate_function is None:
6464
terminate_function = terminate_subprocess
6565
self._process_kwargs = {
66+
"resource_dict": resource_dict,
6667
"future_queue": self._future_queue,
6768
"execute_function": execute_function,
68-
"resource_dict": resource_dict,
6969
"terminate_function": terminate_function,
7070
"pysqa_config_directory": pysqa_config_directory,
7171
"backend": backend,
@@ -80,11 +80,11 @@ def __init__(
8080

8181

8282
def create_file_executor(
83+
resource_dict: dict,
8384
max_workers: Optional[int] = None,
8485
backend: str = "flux_submission",
8586
max_cores: Optional[int] = None,
8687
cache_directory: Optional[str] = None,
87-
resource_dict: Optional[dict] = None,
8888
flux_executor=None,
8989
flux_executor_pmi_mode: Optional[str] = None,
9090
flux_executor_nesting: bool = False,

0 commit comments

Comments
 (0)