We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d182961 commit 8c988dcCopy full SHA for 8c988dc
jupyter_server/services/events/handlers.py
@@ -82,6 +82,9 @@ def validate_model(
82
message = f"Missing `{key}` in the JSON request body."
83
raise Exception(message)
84
schema_id = cast(str, data.get("schema_id"))
85
+ # The case where a given schema_id isn't found,
86
+ # jupyter_events raises a useful error, so there's no need to
87
+ # handle that case here.
88
schema = registry.get(schema_id)
89
version = int(cast(int, data.get("version")))
90
if schema.version != version:
0 commit comments