Total Complexity | 1 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | from abc import ABC |
||
2 | from typing import List, Optional |
||
3 | |||
4 | |||
5 | class RoutineLoaderWorker(ABC): |
||
6 | """ |
||
7 | Interface for classes that implement the actual execution of the routine loader command. |
||
8 | """ |
||
9 | |||
10 | # ------------------------------------------------------------------------------------------------------------------ |
||
11 | def execute(self, file_names: Optional[List[str]] = None) -> int: |
||
12 | """ |
||
13 | Does the actual execution of the routine loader command for the backend. Returns 0 on success. Otherwise, |
||
14 | returns nonzero. |
||
15 | |||
16 | :param file_names: The sources that must be loaded. If None all sources (if required) will be loaded. |
||
17 | """ |
||
18 | pass |
||
19 | |||
21 |