From 156e1a9436d6758ce2f7881a00833b91ab018b14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laura=20Kl=C3=BCnder?= Date: Sun, 3 Dec 2023 17:42:12 +0100 Subject: [PATCH] fix the same thing again --- src/c3nav/mapdata/schemas/models.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/c3nav/mapdata/schemas/models.py b/src/c3nav/mapdata/schemas/models.py index c84bceb2..6ad98a42 100644 --- a/src/c3nav/mapdata/schemas/models.py +++ b/src/c3nav/mapdata/schemas/models.py @@ -302,10 +302,14 @@ class SourceSchema(WithAccessRestrictionSchema, DjangoModelSchema): description="name/filename of the source", ) bounds: tuple[ - Annotated[float, APIField(name="left")], - Annotated[float, APIField(name="bottom")], - Annotated[float, APIField(name="right")], - Annotated[float, APIField(name="top")], + tuple[ + Annotated[float, APIField(name="left")], + Annotated[float, APIField(name="bottom")], + ], + tuple[ + Annotated[float, APIField(name="right")], + Annotated[float, APIField(name="top")], + ] ]