From 1cbd9d9efa5ed099f2b987c0895fed0a7b82a702 Mon Sep 17 00:00:00 2001 From: krassowski <5832902+krassowski@users.noreply.github.com> Date: Sat, 11 Nov 2023 18:38:45 +0000 Subject: [PATCH] Align JSON schema validator with one used on the frontend --- jupyterlab_server/settings_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jupyterlab_server/settings_utils.py b/jupyterlab_server/settings_utils.py index 1570ff0f..fd36cff8 100644 --- a/jupyterlab_server/settings_utils.py +++ b/jupyterlab_server/settings_utils.py @@ -10,7 +10,7 @@ from typing import Any import json5 # type:ignore[import-untyped] -from jsonschema import Draft4Validator as Validator +from jsonschema import Draft7Validator as Validator from jsonschema import ValidationError from jupyter_server import _tz as tz from jupyter_server.base.handlers import APIHandler