Total Complexity | 1 |
Total Lines | 16 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | from abc import ABC |
||
2 | |||
3 | |||
4 | class ConstantWorker(ABC): |
||
5 | """ |
||
6 | Interface for classes that implement the actual execution of the constant command. |
||
7 | """ |
||
8 | |||
9 | # ------------------------------------------------------------------------------------------------------------------ |
||
10 | def execute(self) -> int: |
||
11 | """ |
||
12 | Does the actual execution of the constant command for the backend. Returns 0 on success. Otherwise, returns |
||
13 | nonzero. |
||
14 | """ |
||
15 | pass |
||
16 | |||
18 |