Skip to content

Commit

Permalink
Add rate limit quota protection
Browse files Browse the repository at this point in the history
  • Loading branch information
cgokmen committed Sep 2, 2023
1 parent fd3ab50 commit a798e26
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bddl/data_generation/pull_sheets.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import os
import pathlib
import time
import gspread
import csv

Expand Down Expand Up @@ -44,5 +45,8 @@ def main():
writer = csv.writer(f)
writer.writerows(worksheet.get_all_values())

# Stop Google from complaining.
time.sleep(10)

if __name__ == "__main__":
main()

0 comments on commit a798e26

Please sign in to comment.