Runtime-mutable app settings beside frozenAppConfig(#370).
AppConfig is boot-time infra; SettingsRegistryholds operator-mutable
values declared at setup viaapp.register_setting(). Reads are in-memory
(no per-access I/O); persistence is a single versioned JSON document via
SettingsStore.
settings.registry
| 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
parse_bool
function
def parse_bool(raw: str) -> bool
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
raw
|
str
|
— |
parse_int
function
def parse_int(raw: str) -> int
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
raw
|
str
|
— |
parse_float
function
def parse_float(raw: str) -> float
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
raw
|
str
|
— |
default_parser_for
function
def default_parser_for(value: Any) -> Callable[[str], Any]
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
value
|
Any
|
— |
SettingSpec
class
Declaration of one runtime-mutable setting.
SettingsRegistry
class
Declared settings + in-memory resolved values.
View source · /home/runner/work/chirp/chirp/site/../src/chirp/settings/registry.py:1