Skip to content

Commit

Permalink
Derive JupyterAsyncApp from JupyterApp (#389)
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 authored Jan 7, 2024
1 parent 9ea9097 commit 8e69e7f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion jupyter_core/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,9 +286,12 @@ def launch_instance(cls, argv: t.Any = None, **kwargs: t.Any) -> None:
loop.close()


class JupyterAsyncApp(Application):
class JupyterAsyncApp(JupyterApp):
"""A Jupyter application that runs on an asyncio loop."""

name = "jupyter_async" # override in subclasses
description = "An Async Jupyter Application"

# Set to True for tornado-based apps.
_prefer_selector_loop = False

Expand Down

0 comments on commit 8e69e7f

Please sign in to comment.