We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d25b69c commit 598c875Copy full SHA for 598c875
1 file changed
ipykernel/kernelbase.py
@@ -11,6 +11,7 @@
11
import sys
12
import time
13
import uuid
14
+import warnings
15
16
try:
17
# jupyter_client >= 5, use tz-aware now
@@ -58,6 +59,15 @@ def _update_eventloop(self, change):
58
59
session = Instance(Session, allow_none=True)
60
profile_dir = Instance('IPython.core.profiledir.ProfileDir', allow_none=True)
61
shell_stream = Instance(ZMQStream, allow_none=True)
62
+
63
+ @property
64
+ def shell_streams(self):
65
+ warnings.warn(
66
+ 'Property shell_streams is deprecated in favor of shell_stream',
67
+ DeprecationWarning
68
+ )
69
+ return [shell_stream]
70
71
control_stream = Instance(ZMQStream, allow_none=True)
72
iopub_socket = Any()
73
iopub_thread = Any()
0 commit comments