mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
Add doc string for validate_config
This commit is contained in:
@@ -155,6 +155,9 @@ def remove_item_from_config(config, property_path, value):
|
|||||||
|
|
||||||
|
|
||||||
def validate_config(config):
|
def validate_config(config):
|
||||||
|
"""
|
||||||
|
Validate changes to the config with tljh-config against the schema
|
||||||
|
"""
|
||||||
import jsonschema
|
import jsonschema
|
||||||
|
|
||||||
from .config_schema import config_schema
|
from .config_schema import config_schema
|
||||||
|
|||||||
Reference in New Issue
Block a user