@@ -353,9 +353,9 @@ def shell_channel(self) -> t.Any:
353
353
url = self ._make_url ("shell" )
354
354
self .log .debug ("connecting shell channel to %s" , url )
355
355
socket = self .connect_shell (identity = self .session .bsession )
356
- self ._shell_channel = self .shell_channel_class (
356
+ self ._shell_channel = self .shell_channel_class ( # type:ignore[call-arg,abstract]
357
357
socket , self .session , self .ioloop
358
- ) # type:ignore[operator]
358
+ )
359
359
return self ._shell_channel
360
360
361
361
@property
@@ -365,9 +365,9 @@ def iopub_channel(self) -> t.Any:
365
365
url = self ._make_url ("iopub" )
366
366
self .log .debug ("connecting iopub channel to %s" , url )
367
367
socket = self .connect_iopub ()
368
- self ._iopub_channel = self .iopub_channel_class (
368
+ self ._iopub_channel = self .iopub_channel_class ( # type:ignore[call-arg,abstract]
369
369
socket , self .session , self .ioloop
370
- ) # type:ignore[operator]
370
+ )
371
371
return self ._iopub_channel
372
372
373
373
@property
@@ -377,9 +377,9 @@ def stdin_channel(self) -> t.Any:
377
377
url = self ._make_url ("stdin" )
378
378
self .log .debug ("connecting stdin channel to %s" , url )
379
379
socket = self .connect_stdin (identity = self .session .bsession )
380
- self ._stdin_channel = self .stdin_channel_class (
380
+ self ._stdin_channel = self .stdin_channel_class ( # type:ignore[call-arg,abstract]
381
381
socket , self .session , self .ioloop
382
- ) # type:ignore[operator]
382
+ )
383
383
return self ._stdin_channel
384
384
385
385
@property
@@ -388,9 +388,9 @@ def hb_channel(self) -> t.Any:
388
388
if self ._hb_channel is None :
389
389
url = self ._make_url ("hb" )
390
390
self .log .debug ("connecting heartbeat channel to %s" , url )
391
- self ._hb_channel = self .hb_channel_class (
391
+ self ._hb_channel = self .hb_channel_class ( # type:ignore[call-arg,abstract]
392
392
self .context , self .session , url
393
- ) # type:ignore[operator]
393
+ )
394
394
return self ._hb_channel
395
395
396
396
@property
@@ -400,9 +400,9 @@ def control_channel(self) -> t.Any:
400
400
url = self ._make_url ("control" )
401
401
self .log .debug ("connecting control channel to %s" , url )
402
402
socket = self .connect_control (identity = self .session .bsession )
403
- self ._control_channel = self .control_channel_class (
403
+ self ._control_channel = self .control_channel_class ( # type:ignore[call-arg,abstract]
404
404
socket , self .session , self .ioloop
405
- ) # type:ignore[operator]
405
+ )
406
406
return self ._control_channel
407
407
408
408
async def _async_is_alive (self ) -> bool :
0 commit comments