Skip to content

Commit c267ceb

Browse files
committed
fix type annotation on event arg
1 parent b747105 commit c267ceb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jupyter_server_documents/rooms/yroom.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ def _on_ydoc_update(self, event: TransactionEvent) -> None:
405405
self._broadcast_message(message, message_type="SyncUpdate")
406406

407407

408-
def _on_jupyter_ydoc_update(self, updated_key: str, event: pycrdt) -> None:
408+
def _on_jupyter_ydoc_update(self, updated_key: str, event: Any) -> None:
409409
"""
410410
This method is an observer on `self._jupyter_ydoc` which saves the file
411411
whenever the YDoc changes.

0 commit comments

Comments
 (0)