Skip to content

Commit

Permalink
Add missing settings from nbgrader>9
Browse files Browse the repository at this point in the history
  • Loading branch information
tmetzl committed Oct 23, 2024
1 parent 9cb5e68 commit a579bf7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions e2xgrader/server_extensions/apps/nbgraderapi/nbgraderapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit a579bf7

Please sign in to comment.