pystratum_backend.RoutineWrapperGeneratorWorker   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 5
dl 0
loc 16
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A RoutineWrapperGeneratorWorker.execute() 0 6 1
1
from abc import ABC
2
3
4
class RoutineWrapperGeneratorWorker(ABC):
5
    """
6
    Interface for classes that implement the actual execution of the routine wrapper generator command.
7
    """
8
9
    # ------------------------------------------------------------------------------------------------------------------
10
    def execute(self) -> int:
11
        """
12
        Does the actual execution of the routine wrapper generator command for the backend. Returns 0 on success.
13
        Otherwise, returns nonzero.
14
        """
15
        pass
16
17
# ----------------------------------------------------------------------------------------------------------------------
18