From 3d78b6bcc143516564dd0b121698a8477f0f47c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Krassowski?= <5832902+krassowski@users.noreply.github.com> Date: Tue, 14 Nov 2023 11:15:05 +0000 Subject: [PATCH] Align JSON schema validator with one used on the frontend (#423) --- 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