'IOS-XR requires you not exit from configuration mode.'

def send_config_set(self, config_commands=None, exit_config_mode=True, **kwargs):

    return super(CiscoXrSSH, self).send_config_set(config_commands=config_commands, exit_config_mode=False, **kwargs)
