Merge branch 'develop' into feature/drawrects

This commit is contained in:
Jörn-Michael Miehe 2023-09-04 20:03:48 +00:00
commit d159485b2c
2 changed files with 2 additions and 2 deletions

View file

@ -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))

View file

@ -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(