mirror of
https://code.lenaisten.de/Lenaisten/advent22.git
synced 2024-11-23 00:03:07 +00:00
Merge branch 'develop' into feature/drawrects
This commit is contained in:
commit
d159485b2c
2 changed files with 2 additions and 2 deletions
|
@ -22,4 +22,4 @@ class Config(BaseModel):
|
|||
async def get_config() -> Config:
|
||||
txt = await dav_get_textfile_content(path=SETTINGS.config_filename)
|
||||
|
||||
return Config.parse_obj(tomli.loads(txt))
|
||||
return Config.model_validate(tomli.loads(txt))
|
||||
|
|
|
@ -30,7 +30,7 @@ async def uwe(
|
|||
|
||||
@router.get("/torsten/{ding}")
|
||||
async def torsten(ding: str) -> str:
|
||||
return "Der Alphakevin Torsten hat ein " f"langes {ding}."
|
||||
return f"Der Alphakevin Torsten hat ein langes {ding}."
|
||||
|
||||
|
||||
@router.get(
|
||||
|
|
Loading…
Reference in a new issue