File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -573,8 +573,8 @@ class GatewayKernelClient(AsyncKernelClient):
573
573
574
574
# flag for whether execute requests should be allowed to call raw_input:
575
575
allow_stdin = False
576
- _channels_stopped = False
577
- _channel_queues : Optional [dict ] = {}
576
+ _channels_stopped : bool
577
+ _channel_queues : Optional [dict ]
578
578
_control_channel : Optional [ChannelQueue ]
579
579
_hb_channel : Optional [ChannelQueue ]
580
580
_stdin_channel : Optional [ChannelQueue ]
@@ -586,6 +586,8 @@ def __init__(self, **kwargs):
586
586
self .kernel_id = kwargs ["kernel_id" ]
587
587
self .channel_socket : Optional [websocket .WebSocket ] = None
588
588
self .response_router : Optional [Thread ] = None
589
+ self ._channels_stopped = False
590
+ self ._channel_queues = {}
589
591
590
592
# --------------------------------------------------------------------------
591
593
# Channel management methods
You can’t perform that action at this time.
0 commit comments