Skip to content

ExperimentalFeature

Base classes

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

⋔ Inheritance diagram

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

🛈 DocStrings

Bases: CodexBaseModel

Source code in src/codexed/models/v2_protocol.py
class ExperimentalFeature(CodexBaseModel):
    announcement: str | None = None
    """
    Announcement copy shown to users when the feature is introduced. Null when this feature is not in beta.
    """
    default_enabled: bool
    """
    Whether this feature is enabled by default.
    """
    description: str | None = None
    """
    Short summary describing what the feature does. Null when this feature is not in beta.
    """
    display_name: str | None = None
    """
    User-facing display name shown in the experimental features UI. Null when this feature is not in beta.
    """
    enabled: bool
    """
    Whether this feature is currently enabled in the loaded config.
    """
    name: str
    """
    Stable key used in config.toml and CLI flag toggles.
    """
    stage: ExperimentalFeatureStage
    """
    Lifecycle stage of this feature flag.
    """

announcement class-attribute instance-attribute

announcement: str | None = None

Announcement copy shown to users when the feature is introduced. Null when this feature is not in beta.

default_enabled instance-attribute

default_enabled: bool

Whether this feature is enabled by default.

description class-attribute instance-attribute

description: str | None = None

Short summary describing what the feature does. Null when this feature is not in beta.

display_name class-attribute instance-attribute

display_name: str | None = None

User-facing display name shown in the experimental features UI. Null when this feature is not in beta.

enabled instance-attribute

enabled: bool

Whether this feature is currently enabled in the loaded config.

name instance-attribute

name: str

Stable key used in config.toml and CLI flag toggles.

stage instance-attribute

stage: ExperimentalFeatureStage

Lifecycle stage of this feature flag.

:fa-brands-github: Show source on GitHub