Skip to content

Commit

Permalink
don't let ExtensionApp jpserver_extensions be overridden by config (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
minrk committed Aug 1, 2024
1 parent f37967b commit 74655ce
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions jupyter_server/serverapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -2724,7 +2724,11 @@ def initialize(
self._init_asyncio_patch()
# Parse command line, load ServerApp config files,
# and update ServerApp config.
# preserve jpserver_extensions, which may have been set by starter_extension
# don't let config clobber this value
jpserver_extensions = self.jpserver_extensions.copy()
super().initialize(argv=argv)
self.jpserver_extensions.update(jpserver_extensions)
if self._dispatching:
return
# initialize io loop as early as possible,
Expand Down

0 comments on commit 74655ce

Please sign in to comment.