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 c36acab commit cafb327Copy full SHA for cafb327
jupyter_server/serverapp.py
@@ -1491,7 +1491,9 @@ def init_server_extension_config(self):
1491
for modulename in sorted(self.jpserver_extensions):
1492
_, metadata = _get_server_extension_metadata(modulename)
1493
app_obj = metadata[0].get('app', None)
1494
- if issubclass(app_obj, JupyterApp):
+ if app_obj:
1495
+ if not issubclass(app_obj, JupyterApp):
1496
+ raise TypeError(abb_obj.__name__ + "must be a subclass of JupyterApp")
1497
# Initialize extension app
1498
app = app_obj(parent=self)
1499
# Update the app's config, setting
0 commit comments