Skip to content

SessionConfigSelectGroup

Base classes

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

⋔ Inheritance diagram

graph TD
  95970865146592["config_options.SessionConfigSelectGroup"]
  95970868359040["base.AnnotatedObject"]
  95970855946400["base.Schema"]
  95970851503232["main.BaseModel"]
  125067848591872["builtins.object"]
  95970868359040 --> 95970865146592
  95970855946400 --> 95970868359040
  95970851503232 --> 95970855946400
  125067848591872 --> 95970851503232

🛈 DocStrings

Bases: AnnotatedObject

A group of possible values of a select config option.

Source code in src/aclientp/schema/v2/config_options.py
class SessionConfigSelectGroup(AnnotatedObject):
    """A group of possible values of a select config option."""

    group_id: SessionConfigGroupId
    """Unique identifier of this group."""

    name: str
    """Human-readable label."""

    options: Sequence[SessionConfigSelectOption] = Field(min_length=1)
    """The values in this group."""

group_id instance-attribute

Unique identifier of this group.

name instance-attribute

name: str

Human-readable label.

options class-attribute instance-attribute

options: Sequence[SessionConfigSelectOption] = Field(min_length=1)

The values in this group.

:fa-brands-github: Show source on GitHub