Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creates a new FileLoader class to separate the logic of watching files #121

Merged
merged 25 commits into from
Apr 11, 2023
Merged
Show file tree
Hide file tree
Changes from 15 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion jupyter_collaboration/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
from traitlets import Float, Int, Type
from ypy_websocket.ystore import BaseYStore

from .handlers import DocSessionHandler, SQLiteYStore, YDocWebSocketHandler
from .handlers import DocSessionHandler, YDocWebSocketHandler
from .stores import SQLiteYStore


class YDocExtension(ExtensionApp):
Expand Down Expand Up @@ -61,3 +62,6 @@ def initialize_handlers(self):
(r"/api/collaboration/session/(.*)", DocSessionHandler),
]
)

async def stop_extension(self):
YDocWebSocketHandler.clean_up()
Loading