minor cleanup

This commit is contained in:
Jörn-Michael Miehe 2023-09-12 17:16:02 +00:00
parent 5694438c96
commit 8290925659

View file

@ -56,8 +56,11 @@ async def get_config_model(
_: None = Depends(require_admin), _: None = Depends(require_admin),
cfg: Config = Depends(get_config), cfg: Config = Depends(get_config),
cal_cfg: CalendarConfig = Depends(get_calendar_config), cal_cfg: CalendarConfig = Depends(get_calendar_config),
parts: dict[int, str] = Depends(get_parts),
) -> ConfigModel: ) -> ConfigModel:
"""
Kombiniert aus privaten `settings`, `config` und `calendar_config`
"""
return ConfigModel.model_validate( return ConfigModel.model_validate(
{ {
"puzzle": { "puzzle": {