Skip to content

Alert

🛈 DocStrings

An alert the app raised (kept for the record and for tests).

Source code in src/acptui/ui/attention.py
@dataclass(frozen=True)
class Alert:
    """An alert the app raised (kept for the record and for tests)."""

    kind: AttentionKind
    title: str
    message: str
    outside: bool
    """Whether it was sent outside the app (notification, sound)."""

outside instance-attribute

outside: bool

Whether it was sent outside the app (notification, sound).

:fa-brands-github: Show source on GitHub