sync
This commit is contained in:
@@ -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]:
|
||||||
|
Reference in New Issue
Block a user