The «driver» does not work

Whenever I use AppiumService() and use [desired_caps[‘noReset’] = True] in Capability the driver no longer works!

My code:

appium_service = AppiumService()
appium_service.start(args=['--address', '', '--p', '4723', '--base-path', '/wd/hub'])

desired_caps = {}
desired_caps['platformName'] = 'Android'
desired_caps['automationName'] = 'UiAutomator2'
desired_caps['deviceName'] = 'Android'
desired_caps['appPackage'] = "com.goibibo"
desired_caps['appActivity'] = '.common.HomeActivity'
desired_caps['noReset'] = True

driver = webdriver.Remote('', desired_caps)

driver.find_element(By.XPATH, '//android.widget.LinearLayout[@content-desc="Choose an Account"]/android.widget.LinearLayout').click()


After the line [driver = webdriver.Remote(‘’, desired_caps)] no code works anymore!

I noticed when this happens when I use AppiumService() but if I start Appium with (Appium Server GUI) there is no problem.

Here also it happens because of [desired_caps[‘noReset’] = True] if I remove this piece of code the driver works I don’t know why (noReset) makes my code stop