Skip to content

BooleanSessionConfigOption

Base classes

Name Children Inherits
_ConfigOptionBase
aclientp.schema.v2.config_options

⋔ Inheritance diagram

graph TD
  95970868923648["config_options.BooleanSessionConfigOption"]
  95970866994960["config_options._ConfigOptionBase"]
  95970868359040["base.AnnotatedObject"]
  95970855946400["base.Schema"]
  95970851503232["main.BaseModel"]
  125067848591872["builtins.object"]
  95970866994960 --> 95970868923648
  95970868359040 --> 95970866994960
  95970855946400 --> 95970868359040
  95970851503232 --> 95970855946400
  125067848591872 --> 95970851503232

🛈 DocStrings

Bases: _ConfigOptionBase

An on/off toggle.

Source code in src/aclientp/schema/v2/config_options.py
class BooleanSessionConfigOption(_ConfigOptionBase):
    """An on/off toggle."""

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

    current_value: bool
    """The current value."""

current_value instance-attribute

current_value: bool

The current value.

:fa-brands-github: Show source on GitHub