def update_execution_state_kernel(self):
        """Update actions following the execution state of the kernel."""
        client = self.get_current_client()
        if client is not None:
            executing = client.stop_button.isEnabled()
            self.interrupt_action.setEnabled(executing)
def update_execution_state_kernel ( self ) : client = self . get_current_client ( ) if client is not None : executing = client . stop_button . isEnabled ( ) self . interrupt_action . setEnabled ( executing )
Update actions following the execution state of the kernel.