Skip to content

TextCommandInput

Base classes

Name Children Inherits
AnnotatedObject
aclientp.schema.v2.base
A v2 object with the ``_meta`` extension point.

⋔ Inheritance diagram

graph TD
  95970868456848["commands.TextCommandInput"]
  95970868359040["base.AnnotatedObject"]
  95970855946400["base.Schema"]
  95970851503232["main.BaseModel"]
  125067848591872["builtins.object"]
  95970868359040 --> 95970868456848
  95970855946400 --> 95970868359040
  95970851503232 --> 95970855946400
  125067848591872 --> 95970851503232

🛈 DocStrings

Bases: AnnotatedObject

All text typed after the command name (and the following whitespace) is the input.

Source code in src/aclientp/schema/v2/commands.py
class TextCommandInput(AnnotatedObject):
    """All text typed after the command name (and the following whitespace) is the input."""

    type: Literal["text"] = Field(default="text", init=False)

    hint: str
    """Hint to show while no input has been given."""

hint instance-attribute

hint: str

Hint to show while no input has been given.

:fa-brands-github: Show source on GitHub