exlab_wizard.api.routers.config#
/config router. Backend Spec §4.6.1, §4.9.
Endpoints:
GET /config– return the currentconfig.yaml(always available; secrets stripped).PUT /config– validate + persist new config; re-evaluate setup state.
Both endpoints are exempt from the setup-state gate by design (Backend Spec §4.9.2: the operator needs a way to fix an incomplete config).
Functions
Construct the |
Classes
|
|
- class exlab_wizard.api.routers.config.ConfigUpdateResponse(**data)[source]#
Bases:
BaseModelPUT /configresponse with the new setup state.- Parameters:
data (
Any)
- model_config: ClassVar[ConfigDict] = {'extra': 'forbid'}#
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].