@@ -353,9 +353,9 @@ def shell_channel(self) -> t.Any:
353353 url = self ._make_url ("shell" )
354354 self .log .debug ("connecting shell channel to %s" , url )
355355 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]
357357 socket , self .session , self .ioloop
358- ) # type:ignore[operator]
358+ )
359359 return self ._shell_channel
360360
361361 @property
@@ -365,9 +365,9 @@ def iopub_channel(self) -> t.Any:
365365 url = self ._make_url ("iopub" )
366366 self .log .debug ("connecting iopub channel to %s" , url )
367367 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]
369369 socket , self .session , self .ioloop
370- ) # type:ignore[operator]
370+ )
371371 return self ._iopub_channel
372372
373373 @property
@@ -377,9 +377,9 @@ def stdin_channel(self) -> t.Any:
377377 url = self ._make_url ("stdin" )
378378 self .log .debug ("connecting stdin channel to %s" , url )
379379 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]
381381 socket , self .session , self .ioloop
382- ) # type:ignore[operator]
382+ )
383383 return self ._stdin_channel
384384
385385 @property
@@ -388,9 +388,9 @@ def hb_channel(self) -> t.Any:
388388 if self ._hb_channel is None :
389389 url = self ._make_url ("hb" )
390390 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]
392392 self .context , self .session , url
393- ) # type:ignore[operator]
393+ )
394394 return self ._hb_channel
395395
396396 @property
@@ -400,9 +400,9 @@ def control_channel(self) -> t.Any:
400400 url = self ._make_url ("control" )
401401 self .log .debug ("connecting control channel to %s" , url )
402402 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]
404404 socket , self .session , self .ioloop
405- ) # type:ignore[operator]
405+ )
406406 return self ._control_channel
407407
408408 async def _async_is_alive (self ) -> bool :
0 commit comments