-
Notifications
You must be signed in to change notification settings - Fork 283
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
15 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,17 @@ | ||
"""Add deprecation warning here. | ||
""" | ||
"""This module is deprecated in Jupyter Server 2.0""" | ||
# Raise a warning that this module is deprecated. | ||
import warnings | ||
|
||
from jupyter_server.services.kernels.connection.base import ( | ||
deserialize_binary_message, | ||
deserialize_msg_from_ws_v1, | ||
serialize_binary_message, | ||
serialize_msg_to_ws_v1, | ||
) | ||
from jupyter_server.services.kernels.websocket import WebSocketMixin | ||
|
||
warnings.warn( | ||
"jupyter_server.base.zmqhandlers module is deprecated in Jupyter Server 2.0", | ||
DeprecationWarning, | ||
stacklevel=2, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters