mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
Update schema based on values in configurer.py
This commit is contained in:
@@ -156,7 +156,8 @@ def remove_item_from_config(config, property_path, value):
|
||||
|
||||
def validate_config(config):
|
||||
import jsonschema
|
||||
from config_schema import config_schema
|
||||
|
||||
from .config_schema import config_schema
|
||||
|
||||
try:
|
||||
jsonschema.validate(instance=config, schema=config_schema)
|
||||
|
||||
Reference in New Issue
Block a user