Show More
@@ -147,8 +147,10 b' class KernelClient(LoggingConfigurable, ConnectionFileMixin):' | |||
|
147 | 147 | def shell_channel(self): |
|
148 | 148 | """Get the shell channel object for this kernel.""" |
|
149 | 149 | if self._shell_channel is None: |
|
150 | url = self._make_url('shell') | |
|
151 | self.log.debug("connecting shell channel to %s", url) | |
|
150 | 152 | self._shell_channel = self.shell_channel_class( |
|
151 |
self.context, self.session, |
|
|
153 | self.context, self.session, url | |
|
152 | 154 | ) |
|
153 | 155 | return self._shell_channel |
|
154 | 156 | |
@@ -156,8 +158,10 b' class KernelClient(LoggingConfigurable, ConnectionFileMixin):' | |||
|
156 | 158 | def iopub_channel(self): |
|
157 | 159 | """Get the iopub channel object for this kernel.""" |
|
158 | 160 | if self._iopub_channel is None: |
|
161 | url = self._make_url('iopub') | |
|
162 | self.log.debug("connecting iopub channel to %s", url) | |
|
159 | 163 | self._iopub_channel = self.iopub_channel_class( |
|
160 |
self.context, self.session, |
|
|
164 | self.context, self.session, url | |
|
161 | 165 | ) |
|
162 | 166 | return self._iopub_channel |
|
163 | 167 | |
@@ -165,8 +169,10 b' class KernelClient(LoggingConfigurable, ConnectionFileMixin):' | |||
|
165 | 169 | def stdin_channel(self): |
|
166 | 170 | """Get the stdin channel object for this kernel.""" |
|
167 | 171 | if self._stdin_channel is None: |
|
172 | url = self._make_url('stdin') | |
|
173 | self.log.debug("connecting stdin channel to %s", url) | |
|
168 | 174 | self._stdin_channel = self.stdin_channel_class( |
|
169 |
self.context, self.session, |
|
|
175 | self.context, self.session, url | |
|
170 | 176 | ) |
|
171 | 177 | return self._stdin_channel |
|
172 | 178 | |
@@ -174,8 +180,10 b' class KernelClient(LoggingConfigurable, ConnectionFileMixin):' | |||
|
174 | 180 | def hb_channel(self): |
|
175 | 181 | """Get the hb channel object for this kernel.""" |
|
176 | 182 | if self._hb_channel is None: |
|
183 | url = self._make_url('hb') | |
|
184 | self.log.debug("connecting heartbeat channel to %s", url) | |
|
177 | 185 | self._hb_channel = self.hb_channel_class( |
|
178 |
self.context, self.session, |
|
|
186 | self.context, self.session, url | |
|
179 | 187 | ) |
|
180 | 188 | return self._hb_channel |
|
181 | 189 |
General Comments 0
You need to be logged in to leave comments.
Login now