in perf_dashboard/bq_utils.py [0:0]
def insert_rows(project, dataset_name, table_name, rows):
"""Insert rows to bigquery table."""
client = bigquery.Client(project=project)
dataset_ref = client.dataset(dataset_name)
table_ref = dataset_ref.table(table_name)
table = client.get_table(table_ref)
client.create_rows(table, rows)