Skip to content
This repository was archived by the owner on Feb 16, 2023. It is now read-only.

Commit 7313c6e

Browse files
committed
Rename to NotebookApp
1 parent 554f713 commit 7313c6e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

notebook/app.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -168,12 +168,12 @@ def get(self, path=None):
168168

169169
aliases = dict(base_aliases)
170170
aliases.update({
171-
"retro-logo": "NotebookApp.retro_logo"
171+
"retro-logo": "RetroApp.retro_logo"
172172
})
173173

174174

175-
class NotebookApp(LabServerApp):
176-
name = "retro"
175+
class RetroApp(LabServerApp):
176+
name = "notebook"
177177
app_name = "Jupyter Notebook"
178178
description = "Jupyter Notebook - A web-based notebook environment for interactive computing"
179179
version = version
@@ -205,15 +205,15 @@ class NotebookApp(LabServerApp):
205205

206206
flags = flags
207207
flags['expose-app-in-browser'] = (
208-
{'NotebookApp': {'expose_app_in_browser': True}},
208+
{'RetroApp': {'expose_app_in_browser': True}},
209209
"Expose the global app instance to browser via window.jupyterlab."
210210
)
211211
flags["collaborative"] = (
212-
{"NotebookApp": {"collaborative": True}},
212+
{"RetroApp": {"collaborative": True}},
213213
"Whether to enable collaborative mode.",
214214
)
215215
flags["retro-logo"] = (
216-
{"NotebookApp": {"retro_logo": True}},
216+
{"RetroApp": {"retro_logo": True}},
217217
"Whether to use the Jupyter Notebook inline logo",
218218
)
219219

@@ -248,7 +248,7 @@ def initialize(self, argv=None):
248248
super().initialize()
249249

250250

251-
main = launch_new_instance = NotebookApp.launch_instance
251+
main = launch_new_instance = RetroApp.launch_instance
252252

253253
if __name__ == "__main__":
254254
main()

0 commit comments

Comments
 (0)