Skip to content

Commit 8e69e7f

Browse files
authored
Derive JupyterAsyncApp from JupyterApp (#389)
1 parent 9ea9097 commit 8e69e7f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

jupyter_core/application.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,9 +286,12 @@ def launch_instance(cls, argv: t.Any = None, **kwargs: t.Any) -> None:
286286
loop.close()
287287

288288

289-
class JupyterAsyncApp(Application):
289+
class JupyterAsyncApp(JupyterApp):
290290
"""A Jupyter application that runs on an asyncio loop."""
291291

292+
name = "jupyter_async" # override in subclasses
293+
description = "An Async Jupyter Application"
294+
292295
# Set to True for tornado-based apps.
293296
_prefer_selector_loop = False
294297

0 commit comments

Comments
 (0)