(self, output: str)
| 379 | return output |
| 380 | |
| 381 | def _compress_html_output(self, output: str) -> str: |
| 382 | parser = _HTMLTextParser() |
| 383 | parser.feed(output) |
| 384 | text = parser.get_text() |
| 385 | if not text: |
| 386 | return output[:4000] |
| 387 | return "Output is too long. Parsed text output:\n" + text[:4000] |
| 388 | |
| 389 | def _execute_ssh(self, normalized_command: str) -> ShellCommandResult: |
| 390 | self._connect() |
no test coverage detected