Skip to content

TerminalOutputResponse

Base classes

Name Children Inherits
Response
aclientp.schema.base
Base request model.

⋔ Inheritance diagram

graph TD
  95970860928640["client_responses.TerminalOutputResponse"]
  95970861210848["base.Response"]
  95970862258240["base.AnnotatedObject"]
  95970862254416["base.Schema"]
  95970851503232["main.BaseModel"]
  125067848591872["builtins.object"]
  95970861210848 --> 95970860928640
  95970862258240 --> 95970861210848
  95970862254416 --> 95970862258240
  95970851503232 --> 95970862254416
  125067848591872 --> 95970851503232

🛈 DocStrings

Bases: Response

Response containing the terminal output and exit status.

Source code in src/aclientp/schema/client_responses.py
class TerminalOutputResponse(Response):
    """Response containing the terminal output and exit status."""

    exit_status: TerminalExitStatus | None = None
    """Exit status if the command has completed."""

    output: str
    """The terminal output captured so far."""

    truncated: bool
    """Whether the output was truncated due to byte limits."""

exit_status class-attribute instance-attribute

exit_status: TerminalExitStatus | None = None

Exit status if the command has completed.

output instance-attribute

output: str

The terminal output captured so far.

truncated instance-attribute

truncated: bool

Whether the output was truncated due to byte limits.

:fa-brands-github: Show source on GitHub