@access_control.ValidXsrfTokenRequired
  @access_control.ActiveGaSuperProxyUser
  def post(self):
    query_id = self.request.get('query_id')
    api_query = query_helper.GetApiQuery(query_id)

    if not api_query:
      self.redirect(co.LINKS['owner_index'])

    query_form_input = {
        'name': self.request.get('name'),
        'request': self.request.get('request'),
        'refresh_interval': self.request.get('refresh_interval')
    }
    query_form_input = query_helper.ValidateApiQuery(query_form_input)

    hostname = self.request.host_url
    api_query_links = template_helper.GetLinksForTemplate(api_query, hostname)

    if not query_form_input:
      self.redirect(api_query_links.get('manage_link', '/'))

    api_query.name = query_form_input.get('name')
    api_query.request = query_form_input.get('request')
    api_query.refresh_interval = query_form_input.get('refresh_interval')

    if self.request.get('test_query'):
      test_response = query_helper.FetchApiQueryResponse(api_query)

      template_values = {
          'test_response': test_response,
          'api_query': template_helper.GetTemplateValuesForManage(api_query,
                                                                  hostname),
          'timezone': co.TIMEZONE,
          'xsrf_token': access_control.GetXsrfToken()
      }
      self.RenderHtmlTemplate('edit.html', template_values)
      return

    elif self.request.get('save_query'):
      query_helper.SaveApiQuery(api_query)
    elif self.request.get('save_query_refresh'):
      query_helper.SaveApiQuery(api_query)
      query_helper.RefreshApiQueryResponse(api_query)

    self.redirect(api_query_links.get('manage_link', '/'))
returns value of self.unseen but also changes it to false.
dataset/ETHPy150Open googleanalytics/google-analytics-super-proxy/src/controllers/owner.py/EditQueryHandler.post--crossover with--dataset/ETHPy150Open amarandon/smeuhsocial/apps/notification/models.py/Notice.is_unseen