From a3566fe5552b993e0b416f3a0960a1bad321a9be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laura=20Kl=C3=BCnder?= Date: Thu, 23 Nov 2023 21:19:08 +0100 Subject: [PATCH] this fix things? --- src/c3nav/mapdata/schemas/model_base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/c3nav/mapdata/schemas/model_base.py b/src/c3nav/mapdata/schemas/model_base.py index 48673556..4ad13d56 100644 --- a/src/c3nav/mapdata/schemas/model_base.py +++ b/src/c3nav/mapdata/schemas/model_base.py @@ -84,10 +84,10 @@ class LabelSettingsSchema(TitledSchema, DjangoModelSchema): Settings preset for how and when to display a label. Reusable between objects. The title describes the title of this preset, not the displayed label. """ - min_zoom: float = APIField( + min_zoom: Optional[float] = APIField( title="min zoom", ) - max_zoom: float = APIField( + max_zoom: Optional[float] = APIField( title="max zoom", ) font_size: PositiveInt = APIField(