def _execute_command(self, **command_params): self.__warnings = [] response, call = self._commands.Execute.with_call( Commands_pb2.CommandParams(**command_params)) for key, value in call.trailing_metadata(): value = value.replace(";;", "\n") if key == "warning": self.__warnings.append(value) return response
def __execute_command(self, **command_params): return self.commands.Execute( Commands_pb2.CommandParams(**command_params))
def __execute(self, **commandParams): return self.commands.Execute(Cmd.CommandParams(**commandParams))