Skip to content

SessionOptionsResponse

Base classes

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

⋔ Inheritance diagram

graph TD
  95970871321552["sessions.SessionOptionsResponse"]
  95970868359040["base.AnnotatedObject"]
  95970855946400["base.Schema"]
  95970851503232["main.BaseModel"]
  125067848591872["builtins.object"]
  95970868359040 --> 95970871321552
  95970855946400 --> 95970868359040
  95970851503232 --> 95970855946400
  125067848591872 --> 95970851503232

🛈 DocStrings

Bases: AnnotatedObject

UNSTABLE: Response from session/options.

Source code in src/aclientp/schema/v2/sessions.py
class SessionOptionsResponse(AnnotatedObject):
    """**UNSTABLE**: Response from ``session/options``."""

    config_options: Sequence[SessionConfigOption] | MISSING = MISSING
    """The config options the session would start with, with the same rules as on
    ``NewSessionResponse``."""

    available_commands: Sequence[AvailableCommand] | MISSING = MISSING
    """Commands the Agent knows the session would have."""

available_commands class-attribute instance-attribute

available_commands: Sequence[AvailableCommand] | MISSING = MISSING

Commands the Agent knows the session would have.

config_options class-attribute instance-attribute

config_options: Sequence[SessionConfigOption] | MISSING = MISSING

The config options the session would start with, with the same rules as on NewSessionResponse.

:fa-brands-github: Show source on GitHub