gen_day_auto_image doesnt resolve Depends()

This commit is contained in:
Jörn-Michael Miehe 2023-10-31 23:59:21 +01:00
parent a1729d13f7
commit 7951363be8

View file

@ -111,9 +111,9 @@ async def get_all_image_names(
async def gen_day_auto_image(
day: int,
cfg: Config = Depends(get_config),
auto_image_names: dict[int, str] = Depends(get_all_auto_image_names),
day_parts: dict[int, str] = Depends(get_all_parts),
cfg: Config,
auto_image_names: dict[int, str],
day_parts: dict[int, str],
) -> Image.Image:
"""
Automatisch generiertes Bild erstellen