experimental: docstrings update (#18048)

Added missed docstrings. Formatted docsctrings to the consistent format.
This commit is contained in:
Leonid Ganeline
2024-02-23 18:24:16 -08:00
committed by GitHub
parent 56b955fc31
commit 3f6bf852ea
61 changed files with 316 additions and 102 deletions

View File

@@ -12,8 +12,8 @@ if TYPE_CHECKING:
class BashProcess:
"""
Wrapper class for starting subprocesses.
"""Wrapper for starting subprocesses.
Uses the python built-in subprocesses.run()
Persistent processes are **not** available
on Windows systems, as pexpect makes use of

View File

@@ -31,6 +31,8 @@ class BashOutputParser(BaseOutputParser):
"""Parser for bash output."""
def parse(self, text: str) -> List[str]:
"""Parse the output of a bash command."""
if "```bash" in text:
return self.get_code_blocks(text)
else: