@property
    def shell_channel(self):
        if self._shell_channel is None:
            url = self._make_url('shell')
            self.log.debug("connecting shell channel to %s", url)
            socket = self.connect_shell(identity=self.session.bsession)
            self._shell_channel = self.shell_channel_class(
                socket, self.session, self.ioloop
            )
        return self._shell_channel
Get the shell channel object for this kernel.
dataset/ETHPy150Open jupyter/jupyter_client/jupyter_client/client.py/KernelClient.shell_channel