def _check_kernel_info_reply(self, msg):
        if msg['msg_type'] == 'kernel_info_reply':
            self._handle_kernel_info_reply(msg)
            self.shell_channel._inspect = None
This is run in the ioloop thread when the kernel info reply is recieved
dataset/ETHPy150Open jupyter/jupyter_client/jupyter_client/threaded.py/ThreadedKernelClient._check_kernel_info_reply