Skip to content

AccountSessionSwitchRequest

Base classes

Name Children Inherits
CodexBaseModel
codexed.models.base
Base model for all Codex API models.

⋔ Inheritance diagram

graph TD
  197418304["v2_protocol.AccountSessionSwitchRequest"]
  3116041069["base.CodexBaseModel"]
  3879467795["main.BaseModel"]
  2751680898["builtins.object"]
  3116041069 --> 197418304
  3879467795 --> 3116041069
  2751680898 --> 3879467795

🛈 DocStrings

Bases: CodexBaseModel

Request from the client to the server.

Source code in src/codexed/models/v2_protocol.py
class AccountSessionSwitchRequest(CodexBaseModel):
    """Request from the client to the server."""

    id: RequestId
    method: Literal["accountSession/switch"] = "accountSession/switch"
    params: AccountSessionsSwitchParams

:fa-brands-github: Show source on GitHub