Module

validation

chirp-ui variant validation — strict mode and allowed options registry.

When strict mode is enabled (viaset_strict()), invalid variant values log warnings and fall back to defaults. Chirp sets strict from app.debug when using use_chirp_ui(app, strict=None).

Everything not in all is internal and may change without notice.

Functions

set_strict 1 None
Set strict mode for chirp-ui variant validation. When True, invalid variants l…
def set_strict(strict: bool) -> None

Set strict mode for chirp-ui variant validation.

When True, invalid variants log warnings and fall back to defaults. Chirp calls this per request when use_chirp_ui(app, strict=...) is used.

Parameters
Name Type Description
strict bool