isudatateam / datateam

Consider using literal syntax to create the data structure PTC-W0019
Performance
Minor
3 months ago3 months old
unnecessary dict call - write as literal
26    j = util.exponential_backoff(f.execute)
27    sheet = j["sheets"][0]
28    griddata = sheet["data"][0]
29    d = dict()30    for rowdata in griddata["rowData"]:
31        c1 = rowdata["values"][0].get("formattedValue", "n/a")
32        c2 = rowdata["values"][1].get("formattedValue", "n/a")