def interrupt_kernel(self):
        """Interrupt kernel of current client."""
        client = self.get_current_client()
        if client is not None:
            self.switch_to_plugin()
            client.stop_button_click_handler()
def interrupt_kernel ( self ) : client = self . get_current_client ( ) if client is not None : self . switch_to_plugin ( ) client . stop_button_click_handler ( )
Interrupt kernel of current client.