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