Contract checks for runtime settings registry (#370).
contracts.rules_settings
| Name | Type | Default | Description |
|---|---|---|---|
type
|
|
— | |
qualified_name
|
|
— | |
element_type
|
|
— | |
description
|
|
— | |
source_file
|
|
— | |
line_number
|
|
— | |
is_autodoc
|
|
— | |
autodoc_element
|
|
— | |
_autodoc_template
|
|
— | |
_autodoc_url_path
|
|
— | |
_autodoc_page_type
|
|
— | |
title
|
|
— | |
doc_content_hash
|
|
— |
Symbols on this page
check_settings_spec
function
def check_settings_spec(config: Any, settings_specs: tuple[SettingSpec, ...] | None = None) -> list[ContractIssue]
Flag settings that shadow bootAppConfigfields.
Env-aware (ERROR production / WARNING staging / silent development), matching
auth_specposture.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
config
|
Any
|
— | |
settings_specs
|
tuple[SettingSpec, ...] | None
|
None
|
View source · /home/runner/work/chirp/chirp/site/../src/chirp/contracts/rules_settings.py:1