RoutineLoaderWorker.execute()   A
last analyzed

Complexity

Conditions 1

Size

Total Lines 8
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 8
rs 10
c 0
b 0
f 0
cc 1
nop 2
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
20
# ----------------------------------------------------------------------------------------------------------------------
21