From a579bf794f4ccc4c8c7b5d11c1d860acff8bf536 Mon Sep 17 00:00:00 2001 From: Tim Daniel Metzler Date: Wed, 23 Oct 2024 16:34:40 +0200 Subject: [PATCH] Add missing settings from nbgrader>9 --- e2xgrader/server_extensions/apps/nbgraderapi/nbgraderapi.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/e2xgrader/server_extensions/apps/nbgraderapi/nbgraderapi.py b/e2xgrader/server_extensions/apps/nbgraderapi/nbgraderapi.py index b43454fb..9179dee9 100644 --- a/e2xgrader/server_extensions/apps/nbgraderapi/nbgraderapi.py +++ b/e2xgrader/server_extensions/apps/nbgraderapi/nbgraderapi.py @@ -3,9 +3,13 @@ from e2xcore import BaseApp from nbgrader.apps.baseapp import NbGrader from nbgrader.server_extensions.formgrader.apihandlers import default_handlers +from nbgrader.server_extensions.formgrader.formgrader import FormgradeExtension class NbGraderApi(NbGrader, BaseApp): + + debug = FormgradeExtension.debug.tag(config=True) + def __init__(self, **kwargs): NbGrader.__init__(self, **kwargs) BaseApp.__init__(self, **kwargs) @@ -49,6 +53,7 @@ def load_app(self): nbgrader_gradebook=None, nbgrader_db_url=self.coursedir.db_url, nbgrader_bad_setup=nbgrader_bad_setup, + initial_config=self.config, ) self.update_tornado_settings(tornado_settings)