@staticmethod
  def fetch_request_info(app_id):
    query = RequestInfo.query(RequestInfo.app_id == app_id)
    requests = query.fetch(MAX_REQUESTS_DATA_POINTS)
    request_info = []
    for request in requests:
      request_info.append({
        'timestamp' : int(request.timestamp.strftime('%s')),
        'num_of_requests' : request.num_of_requests
      })
    return request_info
returns the selected item's index on a single-select
dataset/ETHPy150Open AppScale/appscale/AppDashboard/dashboard.py/RequestsStats.fetch_request_info--crossover with--dataset/ETHPy150Open anandology/pyjamas/library/gwt/ui/ListBox.py/ListBox.getSelectedIndex