Skip to content

AuthAccount

Base classes

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

⋔ Inheritance diagram

graph TD
  95970858468896["common.AuthAccount"]
  95970862258240["base.AnnotatedObject"]
  95970862254416["base.Schema"]
  95970851503232["main.BaseModel"]
  125067848591872["builtins.object"]
  95970862258240 --> 95970858468896
  95970862254416 --> 95970862258240
  95970851503232 --> 95970862254416
  125067848591872 --> 95970851503232

🛈 DocStrings

Bases: AnnotatedObject

UNSTABLE: An account the agent has configured, for display.

Source code in src/aclientp/schema/common.py
class AuthAccount(AnnotatedObject):
    """**UNSTABLE**: An account the agent has configured, for display."""

    label: str
    """Human-readable name for the account, e.g. ``Claude Max`` or ``OpenAI API key``."""

    description: str | None = None
    """Short text shown with the label, e.g. the credential source. MUST NOT contain secrets."""

    active: bool | None = None
    """Whether the agent currently uses this account by default."""

    name: str | None = None
    """Display name of the user."""

    email: str | None = None
    """Email address of the user."""

    organization: str | None = None
    """Display name of the organization, team, or workspace the account is using."""

active class-attribute instance-attribute

active: bool | None = None

Whether the agent currently uses this account by default.

description class-attribute instance-attribute

description: str | None = None

Short text shown with the label, e.g. the credential source. MUST NOT contain secrets.

email class-attribute instance-attribute

email: str | None = None

Email address of the user.

label instance-attribute

label: str

Human-readable name for the account, e.g. Claude Max or OpenAI API key.

name class-attribute instance-attribute

name: str | None = None

Display name of the user.

organization class-attribute instance-attribute

organization: str | None = None

Display name of the organization, team, or workspace the account is using.

:fa-brands-github: Show source on GitHub