Skip to content

Commit df1dbd2

Browse files
committed
Rename ExecutorBase to BaseExecutor
1 parent e9e59c6 commit df1dbd2

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

executorlib/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from executorlib.executor.base import ExecutorBase
1+
from executorlib.executor.base import BaseExecutor
22
from executorlib.executor.flux import (
33
FluxClusterExecutor,
44
FluxJobExecutor,
@@ -14,7 +14,7 @@
1414

1515
__all__: list[str] = [
1616
"get_cache_data",
17-
"ExecutorBase",
17+
"BaseExecutor",
1818
"FluxJobExecutor",
1919
"FluxClusterExecutor",
2020
"SingleNodeExecutor",

executorlib/executor/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from executorlib.task_scheduler.base import TaskSchedulerBase
1212

1313

14-
class ExecutorBase(FutureExecutor, ABC):
14+
class BaseExecutor(FutureExecutor, ABC):
1515
"""
1616
Interface class for the executor.
1717

executorlib/executor/flux.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from typing import Callable, Optional, Union
22

3-
from executorlib.executor.base import ExecutorBase
3+
from executorlib.executor.base import BaseExecutor
44
from executorlib.standalone.inputcheck import (
55
check_command_line_argument_lst,
66
check_init_function,
@@ -17,7 +17,7 @@
1717
from executorlib.task_scheduler.interactive.onetoone import OneProcessTaskScheduler
1818

1919

20-
class FluxJobExecutor(ExecutorBase):
20+
class FluxJobExecutor(BaseExecutor):
2121
"""
2222
The executorlib.Executor leverages either the message passing interface (MPI), the SLURM workload manager or
2323
preferable the flux framework for distributing python functions within a given resource allocation. In contrast to
@@ -202,7 +202,7 @@ def __init__(
202202
)
203203

204204

205-
class FluxClusterExecutor(ExecutorBase):
205+
class FluxClusterExecutor(BaseExecutor):
206206
"""
207207
The executorlib.Executor leverages either the message passing interface (MPI), the SLURM workload manager or
208208
preferable the flux framework for distributing python functions within a given resource allocation. In contrast to

executorlib/executor/single.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from typing import Callable, Optional, Union
22

3-
from executorlib.executor.base import ExecutorBase
3+
from executorlib.executor.base import BaseExecutor
44
from executorlib.standalone.inputcheck import (
55
check_command_line_argument_lst,
66
check_gpus_per_worker,
@@ -17,7 +17,7 @@
1717
from executorlib.task_scheduler.interactive.onetoone import OneProcessTaskScheduler
1818

1919

20-
class SingleNodeExecutor(ExecutorBase):
20+
class SingleNodeExecutor(BaseExecutor):
2121
"""
2222
The executorlib.Executor leverages either the message passing interface (MPI), the SLURM workload manager or
2323
preferable the flux framework for distributing python functions within a given resource allocation. In contrast to

executorlib/executor/slurm.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from typing import Callable, Optional, Union
22

3-
from executorlib.executor.base import ExecutorBase
3+
from executorlib.executor.base import BaseExecutor
44
from executorlib.standalone.inputcheck import (
55
check_init_function,
66
check_plot_dependency_graph,
@@ -18,7 +18,7 @@
1818
)
1919

2020

21-
class SlurmClusterExecutor(ExecutorBase):
21+
class SlurmClusterExecutor(BaseExecutor):
2222
"""
2323
The executorlib.Executor leverages either the message passing interface (MPI), the SLURM workload manager or
2424
preferable the flux framework for distributing python functions within a given resource allocation. In contrast to
@@ -194,7 +194,7 @@ def __init__(
194194
)
195195

196196

197-
class SlurmJobExecutor(ExecutorBase):
197+
class SlurmJobExecutor(BaseExecutor):
198198
"""
199199
The executorlib.Executor leverages either the message passing interface (MPI), the SLURM workload manager or
200200
preferable the flux framework for distributing python functions within a given resource allocation. In contrast to

0 commit comments

Comments
 (0)