fix the same thing again

This commit is contained in:
Laura Klünder 2023-12-03 17:42:12 +01:00
parent 635b9ab406
commit 156e1a9436

View file

@ -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")],
]
]