Skip to content

ConfigWarningNotification

Base classes

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

⋔ Inheritance diagram

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

🛈 DocStrings

Bases: CodexBaseModel

Source code in src/codexed/models/v2_protocol.py
class ConfigWarningNotification(CodexBaseModel):
    details: str | None = None
    """
    Optional extra guidance or error details.
    """
    path: str | None = None
    """
    Optional path to the config file that triggered the warning.
    """
    range: TextRange | None = None
    """
    Optional range for the error location inside the config file.
    """
    summary: str
    """
    Concise summary of the warning.
    """

details class-attribute instance-attribute

details: str | None = None

Optional extra guidance or error details.

path class-attribute instance-attribute

path: str | None = None

Optional path to the config file that triggered the warning.

range class-attribute instance-attribute

range: TextRange | None = None

Optional range for the error location inside the config file.

summary instance-attribute

summary: str

Concise summary of the warning.

:fa-brands-github: Show source on GitHub