Skip to content

AppInfo

Base classes

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

⋔ Inheritance diagram

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

🛈 DocStrings

Bases: CodexBaseModel

EXPERIMENTAL - app metadata returned by app-list APIs.

Source code in src/codexed/models/v2_protocol.py
class AppInfo(CodexBaseModel):
    """EXPERIMENTAL - app metadata returned by app-list APIs."""

    app_metadata: AppMetadata | None = None
    branding: AppBranding | None = None
    description: str | None = None
    distribution_channel: str | None = None
    icon_assets: dict[str, Any] | None = None
    icon_dark_assets: dict[str, Any] | None = None
    id: str
    install_url: str | None = None
    is_accessible: bool | None = False
    is_enabled: bool | None = True
    """
    Whether this app is enabled in config.toml. Example: ```toml [apps.bad_app] enabled = false ```
    """
    labels: dict[str, Any] | None = None
    logo_url: str | None = None
    logo_url_dark: str | None = None
    name: str
    plugin_display_names: list[str] | None = []

is_enabled class-attribute instance-attribute

is_enabled: bool | None = True

Whether this app is enabled in config.toml. Example: toml [apps.bad_app] enabled = false

:fa-brands-github: Show source on GitHub