code: def relogin(self):
          
          try:
              self.__auth = None  # reset auth before relogin
              self.login()
          except ZabbixAPIException as e:
              self.log(ERROR, 'Zabbix API relogin error (%s)', e)
              self.__auth = None  # logged_in() will always return False
              raise
docs: Perform a re-login