Commit dfa53e2f authored by Yilun Chong's avatar Yilun Chong

fix comment out

parent cee0447f
......@@ -60,13 +60,13 @@ def upload_result(result_list, metadata):
new_result["labels"] = labels_string[1:]
new_result["timestamp"] = _INITIAL_TIME
print(labels_string)
#
# bq = big_query_utils.create_big_query()
# row = big_query_utils.make_row(str(uuid.uuid4()), new_result)
# if not big_query_utils.insert_rows(bq, _PROJECT_ID, _DATASET,
# _TABLE + "$" + _NOW,
# [row]):
# print('Error when uploading result', new_result)
bq = big_query_utils.create_big_query()
row = big_query_utils.make_row(str(uuid.uuid4()), new_result)
if not big_query_utils.insert_rows(bq, _PROJECT_ID, _DATASET,
_TABLE + "$" + _NOW,
[row]):
print('Error when uploading result', new_result)
if __name__ == "__main__":
......@@ -104,4 +104,4 @@ if __name__ == "__main__":
node_file=args.node_input_file,
php_file=args.php_input_file,
php_c_file=args.php_c_input_file,
), metadata)
\ No newline at end of file
), metadata)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment