Skip to content

SessionConfigOptionValueBoolean

Base classes

Name Children Inherits
AnnotatedObject
aclientp.schema.base
Base class for generated models.

⋔ Inheritance diagram

graph TD
  95970861006672["config_options.SessionConfigOptionValueBoolean"]
  95970862258240["base.AnnotatedObject"]
  95970862254416["base.Schema"]
  95970851503232["main.BaseModel"]
  125067848591872["builtins.object"]
  95970862258240 --> 95970861006672
  95970862254416 --> 95970862258240
  95970851503232 --> 95970862254416
  125067848591872 --> 95970851503232

🛈 DocStrings

Bases: AnnotatedObject

A boolean value for setting a config option (type: "boolean").

Sent by the client to change a boolean config option. See BooleanSessionConfigOption for the option definition advertised by the agent.

Source code in src/aclientp/schema/config_options.py
class SessionConfigOptionValueBoolean(AnnotatedObject):
    """A boolean value for setting a config option (type: "boolean").

    Sent by the client to change a boolean config option.
    See ``BooleanSessionConfigOption`` for the option definition advertised by the agent.
    """

    type: Literal["boolean"] = Field(default="boolean", init=False)
    """Discriminator value."""

    value: bool
    """The boolean value."""

type class-attribute instance-attribute

type: Literal['boolean'] = Field(default='boolean', init=False)

Discriminator value.

value instance-attribute

value: bool

The boolean value.

:fa-brands-github: Show source on GitHub