minor cleanup
This commit is contained in:
parent
5694438c96
commit
8290925659
1 changed files with 4 additions and 1 deletions
|
@ -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": {
|
||||||
|
|
Loading…
Reference in a new issue