From 0a8e848c673a8800e85c2d5c002708d98cfac52a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laura=20Kl=C3=BCnder?= Date: Sun, 3 Dec 2023 18:26:44 +0100 Subject: [PATCH] UpdateCacheKey needs no pattern validation --- src/c3nav/editor/newapi/schemas.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/c3nav/editor/newapi/schemas.py b/src/c3nav/editor/newapi/schemas.py index 30afe45a..914ca192 100644 --- a/src/c3nav/editor/newapi/schemas.py +++ b/src/c3nav/editor/newapi/schemas.py @@ -82,5 +82,5 @@ EditorGeometriesElemSchema = Union[ UpdateCacheKey = Annotated[ Optional[NonEmptyStr], - APIField(default=None, pattern="^c:[0-9]+$", title="the cache key under which you have cached objects"), + APIField(default=None, title="the cache key under which you have cached objects"), ]