@ResolveDates
@analytics_auth_helper.AuthorizeApiQuery
def FetchApiQueryResponse(api_query):
  try:
    response = urlfetch.fetch(url=api_query.request, deadline=60)
    response_content = json.loads(response.content)
  except (ValueError, __HOLE__, AttributeError, urlfetch.Error), e:
    return {'error': str(e)}

  return response_content
dataset/ETHPy150Open googleanalytics/google-analytics-super-proxy/src/controllers/util/query_helper.py/FetchApiQueryResponse