parameters: (test, max_num_rows)
return_statement: return list(reversed(query.fetch(limit=max_num_rows)))
docstring: Gets the Row entities that we want to analyze.
  
    Args:
      test: The TestMetadata entity to get data for.
      max_num_rows: The maximum number of points to get.
  
    Returns:
      A list of the latest Rows after the last alerted revision, ordered by
      revision. These rows are fetched with t a projection query so they only
      have the revision and value properties.
docstring_summary: Gets the Row entities that we want to analyze.
docstring_tokens: Gets the Row entities that we want to analyze .
function: def GetRowsToAnalyze(test, max_num_rows):
    """Gets the Row entities that we want to analyze.
  
    Args:
      test: The TestMetadata entity to get data for.
      max_num_rows: The maximum number of points to get.
  
    Returns:
      A list of the latest Rows after the last alerted revision, ordered by
      revision. These rows are fetched with t a projection query so they only
      have the revision and value properties.
    """
    query = graph_data.Row.query(projection=['revision', 'value'])
    query = query.filter(
        graph_data.Row.parent_test == utils.OldStyleTestKey(test.key))
  
    # The query is ordered in descending order by revision because we want
    # to get the newest points.
    query = query.filter(graph_data.Row.revision > test.last_alerted_revision)
    query = query.order(-graph_data.Row.revision)
  
    # However, we want to analyze them in ascending order.
    return list(reversed(query.fetch(limit=max_num_rows)))
function_tokens: def GetRowsToAnalyze ( test , max_num_rows ) : query = graph_data . Row . query ( projection = [ 'revision' , 'value' ] ) query = query . filter ( graph_data . Row . parent_test == utils . OldStyleTestKey ( test . key ) ) # The query is ordered in descending order by revision because we want # to get the newest points. query = query . filter ( graph_data . Row . revision > test . last_alerted_revision ) query = query . order ( - graph_data . Row . revision ) # However, we want to analyze them in ascending order. return list ( reversed ( query . fetch ( limit = max_num_rows ) ) )