def InitURLStats(self, recordlist):
    records_bytimestamp = {}
    urlstatsdict = {}
    for record in recordlist:
      ts = record.start_timestamp_milliseconds() * 0.001
      records_bytimestamp[ts] = record
      path_key = recording.config.extract_key(record)
      if not path_key in urlstatsdict:
        urlstatsdict[path_key] = stats.URLStats(path_key)
      urlstatsdict[path_key].AddRequest(record)
    return records_bytimestamp, urlstatsdict
Initialize data structures from appstats data.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/ext/analytics/main.py/StatsPage.InitURLStats