add delay to overcome google api quota

This commit is contained in:
hardy
2021-10-15 11:21:03 +02:00
parent 90f3e9e231
commit 8ccb745d42
@@ -45,6 +45,8 @@ import gitlab
import yaml import yaml
import os import os
import pickle import pickle
import time
from sqlconnect import SQLConnect from sqlconnect import SQLConnect
@@ -203,6 +205,7 @@ class gDashboard:
#insert the final row to worksheet #insert the final row to worksheet
self.sheet.insert_row(row, index=i, value_input_option='RAW') self.sheet.insert_row(row, index=i, value_input_option='RAW')
time.sleep(20)
#add MR hyperlinks in a list of requests to be sent as one update batch; this to save API calls (quotas) #add MR hyperlinks in a list of requests to be sent as one update batch; this to save API calls (quotas)