mirror of
https://code.lenaisten.de/Lenaisten/advent22.git
synced 2024-11-23 00:03:07 +00:00
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),
|
||||
cfg: Config = Depends(get_config),
|
||||
cal_cfg: CalendarConfig = Depends(get_calendar_config),
|
||||
parts: dict[int, str] = Depends(get_parts),
|
||||
) -> ConfigModel:
|
||||
"""
|
||||
Kombiniert aus privaten `settings`, `config` und `calendar_config`
|
||||
"""
|
||||
|
||||
return ConfigModel.model_validate(
|
||||
{
|
||||
"puzzle": {
|
||||
|
|
Loading…
Reference in a new issue