sync
parent
b4bf4343e5
commit
30dbd7d117
|
@ -14,12 +14,11 @@ class MessageDTO:
|
||||||
class Command(ABC):
|
class Command(ABC):
|
||||||
@property
|
@property
|
||||||
def command(self):
|
def command(self):
|
||||||
return self.command
|
return self.__command
|
||||||
|
|
||||||
@command.setter
|
@command.setter
|
||||||
@abstractmethod
|
def command(self, cmd: list):
|
||||||
def command(self, command: list):
|
self.__command = cmd
|
||||||
pass
|
|
||||||
|
|
||||||
@abstractmethod
|
@abstractmethod
|
||||||
def _stdout_parser(self, stdout: str) -> list[MessageDTO]:
|
def _stdout_parser(self, stdout: str) -> list[MessageDTO]:
|
||||||
|
|
Loading…
Reference in New Issue