tools/perf/cli_tools/soundwave/tables/bugs.py
def Get(con, bug_id):
  """Find the record for a bug_id in the given database connection.

  Returns:
    A pandas.Series with the record if found, or None otherwise.
  """
  df = pandas.read_sql(
      'SELECT * FROM %s WHERE id=?' % TABLE_NAME, con, params=(bug_id,),
      index_col=INDEX, parse_dates=DATE_COLUMNS)
  return df.loc[bug_id] if len(df) else None
Find the record for a bug_id in the given database connection.

  Returns:
    A pandas.Series with the record if found, or None otherwise.
  
Find the record for a bug_id in the given database connection.
Find the record for a bug_id in the given database connection .
def Get(con, bug_id):
  df = pandas.read_sql(
      'SELECT * FROM %s WHERE id=?' % TABLE_NAME, con, params=(bug_id,),
      index_col=INDEX, parse_dates=DATE_COLUMNS)
  return df.loc[bug_id] if len(df) else None
def Get ( con , bug_id ) : df = pandas . read_sql ( 'SELECT * FROM %s WHERE id=?' % TABLE_NAME , con , params = ( bug_id , ) , index_col = INDEX , parse_dates = DATE_COLUMNS ) return df . loc [ bug_id ] if len ( df ) else None
Find the record for a bug_id in the given database connection.
Find the record for a bug_id in the given database connection .
"""Find the record for a bug_id in the given database connection.

  Returns:
    A pandas.Series with the record if found, or None otherwise.
  """
A pandas.Series with the record if found, or None otherwise.
A pandas . Series with the record if found or None otherwise .
con
bug_id