Coverage for /pythoncovmergedfiles/medio/medio/src/jupyter_server/jupyter_server/base/zmqhandlers.py: 100%

Shortcuts on this page

r m x   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

5 statements  

1"""This module is deprecated in Jupyter Server 2.0""" 

2 

3# Raise a warning that this module is deprecated. 

4import warnings 

5 

6from tornado.websocket import WebSocketHandler 

7 

8from jupyter_server.base.websocket import WebSocketMixin 

9from jupyter_server.services.kernels.connection.base import ( 

10 deserialize_binary_message, 

11 deserialize_msg_from_ws_v1, 

12 serialize_binary_message, 

13 serialize_msg_to_ws_v1, 

14) 

15 

16warnings.warn( 

17 "jupyter_server.base.zmqhandlers module is deprecated in Jupyter Server 2.0", 

18 DeprecationWarning, 

19 stacklevel=2, 

20)