Skip to content

Instantly share code, notes, and snippets.

@mrc0mmand
Created June 11, 2018 15:56
Show Gist options
  • Save mrc0mmand/dd306a69e4732a5c1e186d2ce50913fb to your computer and use it in GitHub Desktop.
Save mrc0mmand/dd306a69e4732a5c1e186d2ce50913fb to your computer and use it in GitHub Desktop.
$ ./main.py
Got 760 rows
Filename: ./main.py
Line # Mem usage Increment Line Contents
================================================
35 26.5195 MiB 26.5195 MiB @profile(precision=4)
36 def get_responses(creds):
37 """Fetch spreadsheet data."""
38 26.5195 MiB 0.0000 MiB sheet_id = "1TowKJrFVbT4Bfp-HFcMh_CZ5anfH0CLfmoqCz9SUr9c"
39
40 26.5195 MiB 0.0000 MiB http = creds.authorize(httplib2.Http())
41 26.5195 MiB 0.0000 MiB service = discovery.build("sheets", "v4", http=http,
42 29.2891 MiB 2.7695 MiB discoveryServiceUrl=(DISCOVERY_URL), cache_discovery=False)
43 49.5742 MiB 20.2852 MiB result = service.spreadsheets().values().get(
44 49.5742 MiB 0.0000 MiB spreadsheetId=sheet_id, range="A1:O").execute()
45 49.5742 MiB 0.0000 MiB values = result.get("values", [])
46
47 49.5742 MiB 0.0000 MiB print("Got {} rows".format(len(values)))
Got 760 rows
Filename: ./main.py
Line # Mem usage Increment Line Contents
================================================
35 49.5742 MiB 49.5742 MiB @profile(precision=4)
36 def get_responses(creds):
37 """Fetch spreadsheet data."""
38 49.5742 MiB 0.0000 MiB sheet_id = "1TowKJrFVbT4Bfp-HFcMh_CZ5anfH0CLfmoqCz9SUr9c"
39
40 49.5742 MiB 0.0000 MiB http = creds.authorize(httplib2.Http())
41 49.5742 MiB 0.0000 MiB service = discovery.build("sheets", "v4", http=http,
42 49.5742 MiB 0.0000 MiB discoveryServiceUrl=(DISCOVERY_URL), cache_discovery=False)
43 67.9922 MiB 18.4180 MiB result = service.spreadsheets().values().get(
44 67.9922 MiB 0.0000 MiB spreadsheetId=sheet_id, range="A1:O").execute()
45 67.9922 MiB 0.0000 MiB values = result.get("values", [])
46
47 67.9922 MiB 0.0000 MiB print("Got {} rows".format(len(values)))
Got 760 rows
Filename: ./main.py
Line # Mem usage Increment Line Contents
================================================
35 67.9922 MiB 67.9922 MiB @profile(precision=4)
36 def get_responses(creds):
37 """Fetch spreadsheet data."""
38 67.9922 MiB 0.0000 MiB sheet_id = "1TowKJrFVbT4Bfp-HFcMh_CZ5anfH0CLfmoqCz9SUr9c"
39
40 67.9922 MiB 0.0000 MiB http = creds.authorize(httplib2.Http())
41 67.9922 MiB 0.0000 MiB service = discovery.build("sheets", "v4", http=http,
42 67.9922 MiB 0.0000 MiB discoveryServiceUrl=(DISCOVERY_URL), cache_discovery=False)
43 81.9453 MiB 13.9531 MiB result = service.spreadsheets().values().get(
44 81.9453 MiB 0.0000 MiB spreadsheetId=sheet_id, range="A1:O").execute()
45 81.9453 MiB 0.0000 MiB values = result.get("values", [])
46
47 81.9453 MiB 0.0000 MiB print("Got {} rows".format(len(values)))
Got 760 rows
Filename: ./main.py
Line # Mem usage Increment Line Contents
================================================
35 81.9453 MiB 81.9453 MiB @profile(precision=4)
36 def get_responses(creds):
37 """Fetch spreadsheet data."""
38 81.9453 MiB 0.0000 MiB sheet_id = "1TowKJrFVbT4Bfp-HFcMh_CZ5anfH0CLfmoqCz9SUr9c"
39
40 81.9453 MiB 0.0000 MiB http = creds.authorize(httplib2.Http())
41 81.9453 MiB 0.0000 MiB service = discovery.build("sheets", "v4", http=http,
42 63.5000 MiB -18.4453 MiB discoveryServiceUrl=(DISCOVERY_URL), cache_discovery=False)
43 63.5000 MiB 0.0000 MiB result = service.spreadsheets().values().get(
44 63.5000 MiB 0.0000 MiB spreadsheetId=sheet_id, range="A1:O").execute()
45 63.5000 MiB 0.0000 MiB values = result.get("values", [])
46
47 63.5000 MiB 0.0000 MiB print("Got {} rows".format(len(values)))
Got 760 rows
Filename: ./main.py
Line # Mem usage Increment Line Contents
================================================
35 63.5000 MiB 63.5000 MiB @profile(precision=4)
36 def get_responses(creds):
37 """Fetch spreadsheet data."""
38 63.5000 MiB 0.0000 MiB sheet_id = "1TowKJrFVbT4Bfp-HFcMh_CZ5anfH0CLfmoqCz9SUr9c"
39
40 63.5000 MiB 0.0000 MiB http = creds.authorize(httplib2.Http())
41 63.5000 MiB 0.0000 MiB service = discovery.build("sheets", "v4", http=http,
42 63.5000 MiB 0.0000 MiB discoveryServiceUrl=(DISCOVERY_URL), cache_discovery=False)
43 72.1328 MiB 8.6328 MiB result = service.spreadsheets().values().get(
44 72.1328 MiB 0.0000 MiB spreadsheetId=sheet_id, range="A1:O").execute()
45 72.1328 MiB 0.0000 MiB values = result.get("values", [])
46
47 72.1328 MiB 0.0000 MiB print("Got {} rows".format(len(values)))
Got 760 rows
Filename: ./main.py
Line # Mem usage Increment Line Contents
================================================
35 72.1328 MiB 72.1328 MiB @profile(precision=4)
36 def get_responses(creds):
37 """Fetch spreadsheet data."""
38 72.1328 MiB 0.0000 MiB sheet_id = "1TowKJrFVbT4Bfp-HFcMh_CZ5anfH0CLfmoqCz9SUr9c"
39
40 72.1328 MiB 0.0000 MiB http = creds.authorize(httplib2.Http())
41 72.1328 MiB 0.0000 MiB service = discovery.build("sheets", "v4", http=http,
42 72.1328 MiB 0.0000 MiB discoveryServiceUrl=(DISCOVERY_URL), cache_discovery=False)
43 84.8984 MiB 12.7656 MiB result = service.spreadsheets().values().get(
44 84.8984 MiB 0.0000 MiB spreadsheetId=sheet_id, range="A1:O").execute()
45 84.8984 MiB 0.0000 MiB values = result.get("values", [])
46
47 84.8984 MiB 0.0000 MiB print("Got {} rows".format(len(values)))
Got 760 rows
Filename: ./main.py
Line # Mem usage Increment Line Contents
================================================
35 84.8984 MiB 84.8984 MiB @profile(precision=4)
36 def get_responses(creds):
37 """Fetch spreadsheet data."""
38 84.8984 MiB 0.0000 MiB sheet_id = "1TowKJrFVbT4Bfp-HFcMh_CZ5anfH0CLfmoqCz9SUr9c"
39
40 84.8984 MiB 0.0000 MiB http = creds.authorize(httplib2.Http())
41 84.8984 MiB 0.0000 MiB service = discovery.build("sheets", "v4", http=http,
42 69.6797 MiB -15.2188 MiB discoveryServiceUrl=(DISCOVERY_URL), cache_discovery=False)
43 69.6797 MiB 0.0000 MiB result = service.spreadsheets().values().get(
44 69.6797 MiB 0.0000 MiB spreadsheetId=sheet_id, range="A1:O").execute()
45 69.6797 MiB 0.0000 MiB values = result.get("values", [])
46
47 69.6797 MiB 0.0000 MiB print("Got {} rows".format(len(values)))
Got 760 rows
Filename: ./main.py
Line # Mem usage Increment Line Contents
================================================
35 69.6797 MiB 69.6797 MiB @profile(precision=4)
36 def get_responses(creds):
37 """Fetch spreadsheet data."""
38 69.6797 MiB 0.0000 MiB sheet_id = "1TowKJrFVbT4Bfp-HFcMh_CZ5anfH0CLfmoqCz9SUr9c"
39
40 69.6797 MiB 0.0000 MiB http = creds.authorize(httplib2.Http())
41 69.6797 MiB 0.0000 MiB service = discovery.build("sheets", "v4", http=http,
42 69.6797 MiB 0.0000 MiB discoveryServiceUrl=(DISCOVERY_URL), cache_discovery=False)
43 73.5430 MiB 3.8633 MiB result = service.spreadsheets().values().get(
44 73.5430 MiB 0.0000 MiB spreadsheetId=sheet_id, range="A1:O").execute()
45 73.5430 MiB 0.0000 MiB values = result.get("values", [])
46
47 73.5430 MiB 0.0000 MiB print("Got {} rows".format(len(values)))
Got 760 rows
Filename: ./main.py
Line # Mem usage Increment Line Contents
================================================
35 73.3281 MiB 73.3281 MiB @profile(precision=4)
36 def get_responses(creds):
37 """Fetch spreadsheet data."""
38 73.3281 MiB 0.0000 MiB sheet_id = "1TowKJrFVbT4Bfp-HFcMh_CZ5anfH0CLfmoqCz9SUr9c"
39
40 73.3281 MiB 0.0000 MiB http = creds.authorize(httplib2.Http())
41 73.3281 MiB 0.0000 MiB service = discovery.build("sheets", "v4", http=http,
42 73.3281 MiB 0.0000 MiB discoveryServiceUrl=(DISCOVERY_URL), cache_discovery=False)
43 85.0117 MiB 11.6836 MiB result = service.spreadsheets().values().get(
44 85.0117 MiB 0.0000 MiB spreadsheetId=sheet_id, range="A1:O").execute()
45 85.0117 MiB 0.0000 MiB values = result.get("values", [])
46
47 85.0117 MiB 0.0000 MiB print("Got {} rows".format(len(values)))
Got 760 rows
Filename: ./main.py
Line # Mem usage Increment Line Contents
================================================
35 85.0117 MiB 85.0117 MiB @profile(precision=4)
36 def get_responses(creds):
37 """Fetch spreadsheet data."""
38 85.0117 MiB 0.0000 MiB sheet_id = "1TowKJrFVbT4Bfp-HFcMh_CZ5anfH0CLfmoqCz9SUr9c"
39
40 85.0117 MiB 0.0000 MiB http = creds.authorize(httplib2.Http())
41 85.0117 MiB 0.0000 MiB service = discovery.build("sheets", "v4", http=http,
42 74.7891 MiB -10.2227 MiB discoveryServiceUrl=(DISCOVERY_URL), cache_discovery=False)
43 74.7891 MiB 0.0000 MiB result = service.spreadsheets().values().get(
44 74.7891 MiB 0.0000 MiB spreadsheetId=sheet_id, range="A1:O").execute()
45 74.7891 MiB 0.0000 MiB values = result.get("values", [])
46
47 74.7891 MiB 0.0000 MiB print("Got {} rows".format(len(values)))
Got 760 rows
Filename: ./main.py
Line # Mem usage Increment Line Contents
================================================
35 74.7891 MiB 74.7891 MiB @profile(precision=4)
36 def get_responses(creds):
37 """Fetch spreadsheet data."""
38 74.7891 MiB 0.0000 MiB sheet_id = "1TowKJrFVbT4Bfp-HFcMh_CZ5anfH0CLfmoqCz9SUr9c"
39
40 74.7891 MiB 0.0000 MiB http = creds.authorize(httplib2.Http())
41 74.7891 MiB 0.0000 MiB service = discovery.build("sheets", "v4", http=http,
42 74.7891 MiB 0.0000 MiB discoveryServiceUrl=(DISCOVERY_URL), cache_discovery=False)
43 74.7891 MiB 0.0000 MiB result = service.spreadsheets().values().get(
44 74.7891 MiB 0.0000 MiB spreadsheetId=sheet_id, range="A1:O").execute()
45 74.7891 MiB 0.0000 MiB values = result.get("values", [])
46
47 74.7891 MiB 0.0000 MiB print("Got {} rows".format(len(values)))
Got 760 rows
Filename: ./main.py
Line # Mem usage Increment Line Contents
================================================
35 74.7891 MiB 74.7891 MiB @profile(precision=4)
36 def get_responses(creds):
37 """Fetch spreadsheet data."""
38 74.7891 MiB 0.0000 MiB sheet_id = "1TowKJrFVbT4Bfp-HFcMh_CZ5anfH0CLfmoqCz9SUr9c"
39
40 74.7891 MiB 0.0000 MiB http = creds.authorize(httplib2.Http())
41 74.7891 MiB 0.0000 MiB service = discovery.build("sheets", "v4", http=http,
42 74.7891 MiB 0.0000 MiB discoveryServiceUrl=(DISCOVERY_URL), cache_discovery=False)
43 87.0273 MiB 12.2383 MiB result = service.spreadsheets().values().get(
44 87.0273 MiB 0.0000 MiB spreadsheetId=sheet_id, range="A1:O").execute()
45 87.0273 MiB 0.0000 MiB values = result.get("values", [])
46
47 87.0273 MiB 0.0000 MiB print("Got {} rows".format(len(values)))
Got 760 rows
Filename: ./main.py
Line # Mem usage Increment Line Contents
================================================
35 87.0273 MiB 87.0273 MiB @profile(precision=4)
36 def get_responses(creds):
37 """Fetch spreadsheet data."""
38 87.0273 MiB 0.0000 MiB sheet_id = "1TowKJrFVbT4Bfp-HFcMh_CZ5anfH0CLfmoqCz9SUr9c"
39
40 87.0273 MiB 0.0000 MiB http = creds.authorize(httplib2.Http())
41 87.0273 MiB 0.0000 MiB service = discovery.build("sheets", "v4", http=http,
42 87.0273 MiB 0.0000 MiB discoveryServiceUrl=(DISCOVERY_URL), cache_discovery=False)
43 75.0391 MiB -11.9883 MiB result = service.spreadsheets().values().get(
44 75.0391 MiB 0.0000 MiB spreadsheetId=sheet_id, range="A1:O").execute()
45 75.0391 MiB 0.0000 MiB values = result.get("values", [])
46
47 75.0391 MiB 0.0000 MiB print("Got {} rows".format(len(values)))
Got 760 rows
Filename: ./main.py
Line # Mem usage Increment Line Contents
================================================
35 75.0391 MiB 75.0391 MiB @profile(precision=4)
36 def get_responses(creds):
37 """Fetch spreadsheet data."""
38 75.0391 MiB 0.0000 MiB sheet_id = "1TowKJrFVbT4Bfp-HFcMh_CZ5anfH0CLfmoqCz9SUr9c"
39
40 75.0391 MiB 0.0000 MiB http = creds.authorize(httplib2.Http())
41 75.0391 MiB 0.0000 MiB service = discovery.build("sheets", "v4", http=http,
42 75.0391 MiB 0.0000 MiB discoveryServiceUrl=(DISCOVERY_URL), cache_discovery=False)
43 85.8320 MiB 10.7930 MiB result = service.spreadsheets().values().get(
44 85.8320 MiB 0.0000 MiB spreadsheetId=sheet_id, range="A1:O").execute()
45 85.8320 MiB 0.0000 MiB values = result.get("values", [])
46
47 85.8320 MiB 0.0000 MiB print("Got {} rows".format(len(values)))
Got 760 rows
Filename: ./main.py
Line # Mem usage Increment Line Contents
================================================
35 85.8320 MiB 85.8320 MiB @profile(precision=4)
36 def get_responses(creds):
37 """Fetch spreadsheet data."""
38 85.8320 MiB 0.0000 MiB sheet_id = "1TowKJrFVbT4Bfp-HFcMh_CZ5anfH0CLfmoqCz9SUr9c"
39
40 85.8320 MiB 0.0000 MiB http = creds.authorize(httplib2.Http())
41 85.8320 MiB 0.0000 MiB service = discovery.build("sheets", "v4", http=http,
42 85.8320 MiB 0.0000 MiB discoveryServiceUrl=(DISCOVERY_URL), cache_discovery=False)
43 97.9219 MiB 12.0898 MiB result = service.spreadsheets().values().get(
44 97.9219 MiB 0.0000 MiB spreadsheetId=sheet_id, range="A1:O").execute()
45 97.9219 MiB 0.0000 MiB values = result.get("values", [])
46
47 97.9219 MiB 0.0000 MiB print("Got {} rows".format(len(values)))
Got 760 rows
Filename: ./main.py
Line # Mem usage Increment Line Contents
================================================
35 97.9219 MiB 97.9219 MiB @profile(precision=4)
36 def get_responses(creds):
37 """Fetch spreadsheet data."""
38 97.9219 MiB 0.0000 MiB sheet_id = "1TowKJrFVbT4Bfp-HFcMh_CZ5anfH0CLfmoqCz9SUr9c"
39
40 97.9219 MiB 0.0000 MiB http = creds.authorize(httplib2.Http())
41 97.9219 MiB 0.0000 MiB service = discovery.build("sheets", "v4", http=http,
42 97.9219 MiB 0.0000 MiB discoveryServiceUrl=(DISCOVERY_URL), cache_discovery=False)
43 90.2773 MiB -7.6445 MiB result = service.spreadsheets().values().get(
44 90.2773 MiB 0.0000 MiB spreadsheetId=sheet_id, range="A1:O").execute()
45 90.2773 MiB 0.0000 MiB values = result.get("values", [])
46
47 90.2773 MiB 0.0000 MiB print("Got {} rows".format(len(values)))
Got 760 rows
Filename: ./main.py
Line # Mem usage Increment Line Contents
================================================
35 90.2773 MiB 90.2773 MiB @profile(precision=4)
36 def get_responses(creds):
37 """Fetch spreadsheet data."""
38 90.2773 MiB 0.0000 MiB sheet_id = "1TowKJrFVbT4Bfp-HFcMh_CZ5anfH0CLfmoqCz9SUr9c"
39
40 90.2773 MiB 0.0000 MiB http = creds.authorize(httplib2.Http())
41 90.2773 MiB 0.0000 MiB service = discovery.build("sheets", "v4", http=http,
42 90.2773 MiB 0.0000 MiB discoveryServiceUrl=(DISCOVERY_URL), cache_discovery=False)
43 101.2500 MiB 10.9727 MiB result = service.spreadsheets().values().get(
44 101.2500 MiB 0.0000 MiB spreadsheetId=sheet_id, range="A1:O").execute()
45 101.2500 MiB 0.0000 MiB values = result.get("values", [])
46
47 101.2500 MiB 0.0000 MiB print("Got {} rows".format(len(values)))
Got 760 rows
Filename: ./main.py
Line # Mem usage Increment Line Contents
================================================
35 101.2500 MiB 101.2500 MiB @profile(precision=4)
36 def get_responses(creds):
37 """Fetch spreadsheet data."""
38 101.2500 MiB 0.0000 MiB sheet_id = "1TowKJrFVbT4Bfp-HFcMh_CZ5anfH0CLfmoqCz9SUr9c"
39
40 101.2500 MiB 0.0000 MiB http = creds.authorize(httplib2.Http())
41 101.2500 MiB 0.0000 MiB service = discovery.build("sheets", "v4", http=http,
42 101.2500 MiB 0.0000 MiB discoveryServiceUrl=(DISCOVERY_URL), cache_discovery=False)
43 115.1562 MiB 13.9062 MiB result = service.spreadsheets().values().get(
44 115.1562 MiB 0.0000 MiB spreadsheetId=sheet_id, range="A1:O").execute()
45 115.1562 MiB 0.0000 MiB values = result.get("values", [])
46
47 115.1562 MiB 0.0000 MiB print("Got {} rows".format(len(values)))
Got 760 rows
Filename: ./main.py
Line # Mem usage Increment Line Contents
================================================
35 115.1562 MiB 115.1562 MiB @profile(precision=4)
36 def get_responses(creds):
37 """Fetch spreadsheet data."""
38 115.1562 MiB 0.0000 MiB sheet_id = "1TowKJrFVbT4Bfp-HFcMh_CZ5anfH0CLfmoqCz9SUr9c"
39
40 115.1562 MiB 0.0000 MiB http = creds.authorize(httplib2.Http())
41 115.1562 MiB 0.0000 MiB service = discovery.build("sheets", "v4", http=http,
42 115.1562 MiB 0.0000 MiB discoveryServiceUrl=(DISCOVERY_URL), cache_discovery=False)
43 105.2539 MiB -9.9023 MiB result = service.spreadsheets().values().get(
44 105.2539 MiB 0.0000 MiB spreadsheetId=sheet_id, range="A1:O").execute()
45 105.2539 MiB 0.0000 MiB values = result.get("values", [])
46
47 105.2539 MiB 0.0000 MiB print("Got {} rows".format(len(values)))
Got 760 rows
Filename: ./main.py
Line # Mem usage Increment Line Contents
================================================
35 105.2539 MiB 105.2539 MiB @profile(precision=4)
36 def get_responses(creds):
37 """Fetch spreadsheet data."""
38 105.2539 MiB 0.0000 MiB sheet_id = "1TowKJrFVbT4Bfp-HFcMh_CZ5anfH0CLfmoqCz9SUr9c"
39
40 105.2539 MiB 0.0000 MiB http = creds.authorize(httplib2.Http())
41 105.2539 MiB 0.0000 MiB service = discovery.build("sheets", "v4", http=http,
42 105.2539 MiB 0.0000 MiB discoveryServiceUrl=(DISCOVERY_URL), cache_discovery=False)
43 115.2891 MiB 10.0352 MiB result = service.spreadsheets().values().get(
44 115.2891 MiB 0.0000 MiB spreadsheetId=sheet_id, range="A1:O").execute()
45 115.2891 MiB 0.0000 MiB values = result.get("values", [])
46
47 115.2891 MiB 0.0000 MiB print("Got {} rows".format(len(values)))
Got 760 rows
Filename: ./main.py
Line # Mem usage Increment Line Contents
================================================
35 115.2891 MiB 115.2891 MiB @profile(precision=4)
36 def get_responses(creds):
37 """Fetch spreadsheet data."""
38 115.2891 MiB 0.0000 MiB sheet_id = "1TowKJrFVbT4Bfp-HFcMh_CZ5anfH0CLfmoqCz9SUr9c"
39
40 115.2891 MiB 0.0000 MiB http = creds.authorize(httplib2.Http())
41 115.2891 MiB 0.0000 MiB service = discovery.build("sheets", "v4", http=http,
42 115.2891 MiB 0.0000 MiB discoveryServiceUrl=(DISCOVERY_URL), cache_discovery=False)
43 130.2031 MiB 14.9141 MiB result = service.spreadsheets().values().get(
44 130.2031 MiB 0.0000 MiB spreadsheetId=sheet_id, range="A1:O").execute()
45 130.2031 MiB 0.0000 MiB values = result.get("values", [])
46
47 130.2031 MiB 0.0000 MiB print("Got {} rows".format(len(values)))
Got 760 rows
Filename: ./main.py
Line # Mem usage Increment Line Contents
================================================
35 130.2031 MiB 130.2031 MiB @profile(precision=4)
36 def get_responses(creds):
37 """Fetch spreadsheet data."""
38 130.2031 MiB 0.0000 MiB sheet_id = "1TowKJrFVbT4Bfp-HFcMh_CZ5anfH0CLfmoqCz9SUr9c"
39
40 130.2031 MiB 0.0000 MiB http = creds.authorize(httplib2.Http())
41 130.2031 MiB 0.0000 MiB service = discovery.build("sheets", "v4", http=http,
42 130.2031 MiB 0.0000 MiB discoveryServiceUrl=(DISCOVERY_URL), cache_discovery=False)
43 119.9844 MiB -10.2188 MiB result = service.spreadsheets().values().get(
44 119.9844 MiB 0.0000 MiB spreadsheetId=sheet_id, range="A1:O").execute()
45 119.9844 MiB 0.0000 MiB values = result.get("values", [])
46
47 119.9844 MiB 0.0000 MiB print("Got {} rows".format(len(values)))
Got 760 rows
Filename: ./main.py
Line # Mem usage Increment Line Contents
================================================
35 119.9844 MiB 119.9844 MiB @profile(precision=4)
36 def get_responses(creds):
37 """Fetch spreadsheet data."""
38 119.9844 MiB 0.0000 MiB sheet_id = "1TowKJrFVbT4Bfp-HFcMh_CZ5anfH0CLfmoqCz9SUr9c"
39
40 119.9844 MiB 0.0000 MiB http = creds.authorize(httplib2.Http())
41 119.9844 MiB 0.0000 MiB service = discovery.build("sheets", "v4", http=http,
42 119.9844 MiB 0.0000 MiB discoveryServiceUrl=(DISCOVERY_URL), cache_discovery=False)
43 131.7109 MiB 11.7266 MiB result = service.spreadsheets().values().get(
44 131.7109 MiB 0.0000 MiB spreadsheetId=sheet_id, range="A1:O").execute()
45 131.7109 MiB 0.0000 MiB values = result.get("values", [])
46
47 131.7109 MiB 0.0000 MiB print("Got {} rows".format(len(values)))
Got 760 rows
Filename: ./main.py
Line # Mem usage Increment Line Contents
================================================
35 131.7109 MiB 131.7109 MiB @profile(precision=4)
36 def get_responses(creds):
37 """Fetch spreadsheet data."""
38 131.7109 MiB 0.0000 MiB sheet_id = "1TowKJrFVbT4Bfp-HFcMh_CZ5anfH0CLfmoqCz9SUr9c"
39
40 131.7109 MiB 0.0000 MiB http = creds.authorize(httplib2.Http())
41 131.7109 MiB 0.0000 MiB service = discovery.build("sheets", "v4", http=http,
42 131.7109 MiB 0.0000 MiB discoveryServiceUrl=(DISCOVERY_URL), cache_discovery=False)
43 147.9609 MiB 16.2500 MiB result = service.spreadsheets().values().get(
44 147.9609 MiB 0.0000 MiB spreadsheetId=sheet_id, range="A1:O").execute()
45 147.9609 MiB 0.0000 MiB values = result.get("values", [])
46
47 147.9609 MiB 0.0000 MiB print("Got {} rows".format(len(values)))
Got 760 rows
Filename: ./main.py
Line # Mem usage Increment Line Contents
================================================
35 147.9609 MiB 147.9609 MiB @profile(precision=4)
36 def get_responses(creds):
37 """Fetch spreadsheet data."""
38 147.9609 MiB 0.0000 MiB sheet_id = "1TowKJrFVbT4Bfp-HFcMh_CZ5anfH0CLfmoqCz9SUr9c"
39
40 147.9609 MiB 0.0000 MiB http = creds.authorize(httplib2.Http())
41 147.9609 MiB 0.0000 MiB service = discovery.build("sheets", "v4", http=http,
42 147.9609 MiB 0.0000 MiB discoveryServiceUrl=(DISCOVERY_URL), cache_discovery=False)
43 138.6445 MiB -9.3164 MiB result = service.spreadsheets().values().get(
44 138.6445 MiB 0.0000 MiB spreadsheetId=sheet_id, range="A1:O").execute()
45 138.6445 MiB 0.0000 MiB values = result.get("values", [])
46
47 138.6445 MiB 0.0000 MiB print("Got {} rows".format(len(values)))
Got 760 rows
Filename: ./main.py
Line # Mem usage Increment Line Contents
================================================
35 138.6445 MiB 138.6445 MiB @profile(precision=4)
36 def get_responses(creds):
37 """Fetch spreadsheet data."""
38 138.6445 MiB 0.0000 MiB sheet_id = "1TowKJrFVbT4Bfp-HFcMh_CZ5anfH0CLfmoqCz9SUr9c"
39
40 138.6445 MiB 0.0000 MiB http = creds.authorize(httplib2.Http())
41 138.6445 MiB 0.0000 MiB service = discovery.build("sheets", "v4", http=http,
42 138.6445 MiB 0.0000 MiB discoveryServiceUrl=(DISCOVERY_URL), cache_discovery=False)
43 147.4531 MiB 8.8086 MiB result = service.spreadsheets().values().get(
44 147.4531 MiB 0.0000 MiB spreadsheetId=sheet_id, range="A1:O").execute()
45 147.4531 MiB 0.0000 MiB values = result.get("values", [])
46
47 147.4531 MiB 0.0000 MiB print("Got {} rows".format(len(values)))
Got 760 rows
Filename: ./main.py
Line # Mem usage Increment Line Contents
================================================
35 147.4531 MiB 147.4531 MiB @profile(precision=4)
36 def get_responses(creds):
37 """Fetch spreadsheet data."""
38 147.4531 MiB 0.0000 MiB sheet_id = "1TowKJrFVbT4Bfp-HFcMh_CZ5anfH0CLfmoqCz9SUr9c"
39
40 147.4531 MiB 0.0000 MiB http = creds.authorize(httplib2.Http())
41 147.4531 MiB 0.0000 MiB service = discovery.build("sheets", "v4", http=http,
42 147.4531 MiB 0.0000 MiB discoveryServiceUrl=(DISCOVERY_URL), cache_discovery=False)
43 163.1172 MiB 15.6641 MiB result = service.spreadsheets().values().get(
44 163.1172 MiB 0.0000 MiB spreadsheetId=sheet_id, range="A1:O").execute()
45 163.1172 MiB 0.0000 MiB values = result.get("values", [])
46
47 163.1172 MiB 0.0000 MiB print("Got {} rows".format(len(values)))
Got 760 rows
Filename: ./main.py
Line # Mem usage Increment Line Contents
================================================
35 163.1172 MiB 163.1172 MiB @profile(precision=4)
36 def get_responses(creds):
37 """Fetch spreadsheet data."""
38 163.1172 MiB 0.0000 MiB sheet_id = "1TowKJrFVbT4Bfp-HFcMh_CZ5anfH0CLfmoqCz9SUr9c"
39
40 163.1172 MiB 0.0000 MiB http = creds.authorize(httplib2.Http())
41 163.1172 MiB 0.0000 MiB service = discovery.build("sheets", "v4", http=http,
42 163.1172 MiB 0.0000 MiB discoveryServiceUrl=(DISCOVERY_URL), cache_discovery=False)
43 153.4414 MiB -9.6758 MiB result = service.spreadsheets().values().get(
44 153.4414 MiB 0.0000 MiB spreadsheetId=sheet_id, range="A1:O").execute()
45 153.4414 MiB 0.0000 MiB values = result.get("values", [])
46
47 153.4414 MiB 0.0000 MiB print("Got {} rows".format(len(values)))
Got 760 rows
Filename: ./main.py
Line # Mem usage Increment Line Contents
================================================
35 153.4414 MiB 153.4414 MiB @profile(precision=4)
36 def get_responses(creds):
37 """Fetch spreadsheet data."""
38 153.4414 MiB 0.0000 MiB sheet_id = "1TowKJrFVbT4Bfp-HFcMh_CZ5anfH0CLfmoqCz9SUr9c"
39
40 153.4414 MiB 0.0000 MiB http = creds.authorize(httplib2.Http())
41 153.4414 MiB 0.0000 MiB service = discovery.build("sheets", "v4", http=http,
42 153.4414 MiB 0.0000 MiB discoveryServiceUrl=(DISCOVERY_URL), cache_discovery=False)
43 163.6094 MiB 10.1680 MiB result = service.spreadsheets().values().get(
44 163.6094 MiB 0.0000 MiB spreadsheetId=sheet_id, range="A1:O").execute()
45 163.6094 MiB 0.0000 MiB values = result.get("values", [])
46
47 163.6094 MiB 0.0000 MiB print("Got {} rows".format(len(values)))
Got 760 rows
Filename: ./main.py
Line # Mem usage Increment Line Contents
================================================
35 163.6094 MiB 163.6094 MiB @profile(precision=4)
36 def get_responses(creds):
37 """Fetch spreadsheet data."""
38 163.6094 MiB 0.0000 MiB sheet_id = "1TowKJrFVbT4Bfp-HFcMh_CZ5anfH0CLfmoqCz9SUr9c"
39
40 163.6094 MiB 0.0000 MiB http = creds.authorize(httplib2.Http())
41 163.6094 MiB 0.0000 MiB service = discovery.build("sheets", "v4", http=http,
42 163.6094 MiB 0.0000 MiB discoveryServiceUrl=(DISCOVERY_URL), cache_discovery=False)
43 180.7266 MiB 17.1172 MiB result = service.spreadsheets().values().get(
44 180.7266 MiB 0.0000 MiB spreadsheetId=sheet_id, range="A1:O").execute()
45 180.7266 MiB 0.0000 MiB values = result.get("values", [])
46
47 180.7266 MiB 0.0000 MiB print("Got {} rows".format(len(values)))
Got 760 rows
Filename: ./main.py
Line # Mem usage Increment Line Contents
================================================
35 180.7266 MiB 180.7266 MiB @profile(precision=4)
36 def get_responses(creds):
37 """Fetch spreadsheet data."""
38 180.7266 MiB 0.0000 MiB sheet_id = "1TowKJrFVbT4Bfp-HFcMh_CZ5anfH0CLfmoqCz9SUr9c"
39
40 180.7266 MiB 0.0000 MiB http = creds.authorize(httplib2.Http())
41 180.7266 MiB 0.0000 MiB service = discovery.build("sheets", "v4", http=http,
42 180.7266 MiB 0.0000 MiB discoveryServiceUrl=(DISCOVERY_URL), cache_discovery=False)
43 167.6133 MiB -13.1133 MiB result = service.spreadsheets().values().get(
44 167.6133 MiB 0.0000 MiB spreadsheetId=sheet_id, range="A1:O").execute()
45 167.6133 MiB 0.0000 MiB values = result.get("values", [])
46
47 167.6133 MiB 0.0000 MiB print("Got {} rows".format(len(values)))
Got 760 rows
Filename: ./main.py
Line # Mem usage Increment Line Contents
================================================
35 167.6133 MiB 167.6133 MiB @profile(precision=4)
36 def get_responses(creds):
37 """Fetch spreadsheet data."""
38 167.6133 MiB 0.0000 MiB sheet_id = "1TowKJrFVbT4Bfp-HFcMh_CZ5anfH0CLfmoqCz9SUr9c"
39
40 167.6133 MiB 0.0000 MiB http = creds.authorize(httplib2.Http())
41 167.6133 MiB 0.0000 MiB service = discovery.build("sheets", "v4", http=http,
42 167.6133 MiB 0.0000 MiB discoveryServiceUrl=(DISCOVERY_URL), cache_discovery=False)
43 179.1016 MiB 11.4883 MiB result = service.spreadsheets().values().get(
44 179.1016 MiB 0.0000 MiB spreadsheetId=sheet_id, range="A1:O").execute()
45 179.1016 MiB 0.0000 MiB values = result.get("values", [])
46
47 179.1016 MiB 0.0000 MiB print("Got {} rows".format(len(values)))
Got 760 rows
Filename: ./main.py
Line # Mem usage Increment Line Contents
================================================
35 179.1016 MiB 179.1016 MiB @profile(precision=4)
36 def get_responses(creds):
37 """Fetch spreadsheet data."""
38 179.1016 MiB 0.0000 MiB sheet_id = "1TowKJrFVbT4Bfp-HFcMh_CZ5anfH0CLfmoqCz9SUr9c"
39
40 179.1016 MiB 0.0000 MiB http = creds.authorize(httplib2.Http())
41 179.1016 MiB 0.0000 MiB service = discovery.build("sheets", "v4", http=http,
42 179.1016 MiB 0.0000 MiB discoveryServiceUrl=(DISCOVERY_URL), cache_discovery=False)
43 195.0195 MiB 15.9180 MiB result = service.spreadsheets().values().get(
44 195.0195 MiB 0.0000 MiB spreadsheetId=sheet_id, range="A1:O").execute()
45 195.0195 MiB 0.0000 MiB values = result.get("values", [])
46
47 195.0195 MiB 0.0000 MiB print("Got {} rows".format(len(values)))
Got 760 rows
Filename: ./main.py
Line # Mem usage Increment Line Contents
================================================
35 195.0195 MiB 195.0195 MiB @profile(precision=4)
36 def get_responses(creds):
37 """Fetch spreadsheet data."""
38 195.0195 MiB 0.0000 MiB sheet_id = "1TowKJrFVbT4Bfp-HFcMh_CZ5anfH0CLfmoqCz9SUr9c"
39
40 195.0195 MiB 0.0000 MiB http = creds.authorize(httplib2.Http())
41 195.0195 MiB 0.0000 MiB service = discovery.build("sheets", "v4", http=http,
42 195.0195 MiB 0.0000 MiB discoveryServiceUrl=(DISCOVERY_URL), cache_discovery=False)
43 184.0273 MiB -10.9922 MiB result = service.spreadsheets().values().get(
44 184.0273 MiB 0.0000 MiB spreadsheetId=sheet_id, range="A1:O").execute()
45 184.0273 MiB 0.0000 MiB values = result.get("values", [])
46
47 184.0273 MiB 0.0000 MiB print("Got {} rows".format(len(values)))
Got 760 rows
Filename: ./main.py
Line # Mem usage Increment Line Contents
================================================
35 184.0273 MiB 184.0273 MiB @profile(precision=4)
36 def get_responses(creds):
37 """Fetch spreadsheet data."""
38 184.0273 MiB 0.0000 MiB sheet_id = "1TowKJrFVbT4Bfp-HFcMh_CZ5anfH0CLfmoqCz9SUr9c"
39
40 184.0273 MiB 0.0000 MiB http = creds.authorize(httplib2.Http())
41 184.0273 MiB 0.0000 MiB service = discovery.build("sheets", "v4", http=http,
42 184.0273 MiB 0.0000 MiB discoveryServiceUrl=(DISCOVERY_URL), cache_discovery=False)
43 195.0078 MiB 10.9805 MiB result = service.spreadsheets().values().get(
44 195.0078 MiB 0.0000 MiB spreadsheetId=sheet_id, range="A1:O").execute()
45 195.0078 MiB 0.0000 MiB values = result.get("values", [])
46
47 195.0078 MiB 0.0000 MiB print("Got {} rows".format(len(values)))
Got 760 rows
Filename: ./main.py
Line # Mem usage Increment Line Contents
================================================
35 195.0078 MiB 195.0078 MiB @profile(precision=4)
36 def get_responses(creds):
37 """Fetch spreadsheet data."""
38 195.0078 MiB 0.0000 MiB sheet_id = "1TowKJrFVbT4Bfp-HFcMh_CZ5anfH0CLfmoqCz9SUr9c"
39
40 195.0078 MiB 0.0000 MiB http = creds.authorize(httplib2.Http())
41 195.0078 MiB 0.0000 MiB service = discovery.build("sheets", "v4", http=http,
42 195.0078 MiB 0.0000 MiB discoveryServiceUrl=(DISCOVERY_URL), cache_discovery=False)
43 208.2773 MiB 13.2695 MiB result = service.spreadsheets().values().get(
44 208.2773 MiB 0.0000 MiB spreadsheetId=sheet_id, range="A1:O").execute()
45 208.2773 MiB 0.0000 MiB values = result.get("values", [])
46
47 208.2773 MiB 0.0000 MiB print("Got {} rows".format(len(values)))
Got 760 rows
Filename: ./main.py
Line # Mem usage Increment Line Contents
================================================
35 208.2773 MiB 208.2773 MiB @profile(precision=4)
36 def get_responses(creds):
37 """Fetch spreadsheet data."""
38 208.2773 MiB 0.0000 MiB sheet_id = "1TowKJrFVbT4Bfp-HFcMh_CZ5anfH0CLfmoqCz9SUr9c"
39
40 208.2773 MiB 0.0000 MiB http = creds.authorize(httplib2.Http())
41 208.2773 MiB 0.0000 MiB service = discovery.build("sheets", "v4", http=http,
42 208.2773 MiB 0.0000 MiB discoveryServiceUrl=(DISCOVERY_URL), cache_discovery=False)
43 197.7617 MiB -10.5156 MiB result = service.spreadsheets().values().get(
44 197.7617 MiB 0.0000 MiB spreadsheetId=sheet_id, range="A1:O").execute()
45 197.7617 MiB 0.0000 MiB values = result.get("values", [])
46
47 197.7617 MiB 0.0000 MiB print("Got {} rows".format(len(values)))
Got 760 rows
Filename: ./main.py
Line # Mem usage Increment Line Contents
================================================
35 197.7617 MiB 197.7617 MiB @profile(precision=4)
36 def get_responses(creds):
37 """Fetch spreadsheet data."""
38 197.7617 MiB 0.0000 MiB sheet_id = "1TowKJrFVbT4Bfp-HFcMh_CZ5anfH0CLfmoqCz9SUr9c"
39
40 197.7617 MiB 0.0000 MiB http = creds.authorize(httplib2.Http())
41 197.7617 MiB 0.0000 MiB service = discovery.build("sheets", "v4", http=http,
42 197.7617 MiB 0.0000 MiB discoveryServiceUrl=(DISCOVERY_URL), cache_discovery=False)
43 211.5586 MiB 13.7969 MiB result = service.spreadsheets().values().get(
44 211.5586 MiB 0.0000 MiB spreadsheetId=sheet_id, range="A1:O").execute()
45 211.5586 MiB 0.0000 MiB values = result.get("values", [])
46
47 211.5586 MiB 0.0000 MiB print("Got {} rows".format(len(values)))
Got 760 rows
Filename: ./main.py
Line # Mem usage Increment Line Contents
================================================
35 211.5586 MiB 211.5586 MiB @profile(precision=4)
36 def get_responses(creds):
37 """Fetch spreadsheet data."""
38 211.5586 MiB 0.0000 MiB sheet_id = "1TowKJrFVbT4Bfp-HFcMh_CZ5anfH0CLfmoqCz9SUr9c"
39
40 211.5586 MiB 0.0000 MiB http = creds.authorize(httplib2.Http())
41 211.5586 MiB 0.0000 MiB service = discovery.build("sheets", "v4", http=http,
42 211.5586 MiB 0.0000 MiB discoveryServiceUrl=(DISCOVERY_URL), cache_discovery=False)
43 222.3125 MiB 10.7539 MiB result = service.spreadsheets().values().get(
44 222.3125 MiB 0.0000 MiB spreadsheetId=sheet_id, range="A1:O").execute()
45 222.3125 MiB 0.0000 MiB values = result.get("values", [])
46
47 222.3125 MiB 0.0000 MiB print("Got {} rows".format(len(values)))
Got 760 rows
Filename: ./main.py
Line # Mem usage Increment Line Contents
================================================
35 222.3125 MiB 222.3125 MiB @profile(precision=4)
36 def get_responses(creds):
37 """Fetch spreadsheet data."""
38 222.3125 MiB 0.0000 MiB sheet_id = "1TowKJrFVbT4Bfp-HFcMh_CZ5anfH0CLfmoqCz9SUr9c"
39
40 222.3125 MiB 0.0000 MiB http = creds.authorize(httplib2.Http())
41 222.3125 MiB 0.0000 MiB service = discovery.build("sheets", "v4", http=http,
42 222.3125 MiB 0.0000 MiB discoveryServiceUrl=(DISCOVERY_URL), cache_discovery=False)
43 222.4141 MiB 0.1016 MiB result = service.spreadsheets().values().get(
44 222.4141 MiB 0.0000 MiB spreadsheetId=sheet_id, range="A1:O").execute()
45 222.4141 MiB 0.0000 MiB values = result.get("values", [])
46
47 222.4141 MiB 0.0000 MiB print("Got {} rows".format(len(values)))
Got 760 rows
Filename: ./main.py
Line # Mem usage Increment Line Contents
================================================
35 222.4141 MiB 222.4141 MiB @profile(precision=4)
36 def get_responses(creds):
37 """Fetch spreadsheet data."""
38 222.4141 MiB 0.0000 MiB sheet_id = "1TowKJrFVbT4Bfp-HFcMh_CZ5anfH0CLfmoqCz9SUr9c"
39
40 222.4141 MiB 0.0000 MiB http = creds.authorize(httplib2.Http())
41 222.4141 MiB 0.0000 MiB service = discovery.build("sheets", "v4", http=http,
42 222.4141 MiB 0.0000 MiB discoveryServiceUrl=(DISCOVERY_URL), cache_discovery=False)
43 225.1445 MiB 2.7305 MiB result = service.spreadsheets().values().get(
44 225.1445 MiB 0.0000 MiB spreadsheetId=sheet_id, range="A1:O").execute()
45 225.1445 MiB 0.0000 MiB values = result.get("values", [])
46
47 225.1445 MiB 0.0000 MiB print("Got {} rows".format(len(values)))
Got 760 rows
Filename: ./main.py
Line # Mem usage Increment Line Contents
================================================
35 225.1445 MiB 225.1445 MiB @profile(precision=4)
36 def get_responses(creds):
37 """Fetch spreadsheet data."""
38 225.1445 MiB 0.0000 MiB sheet_id = "1TowKJrFVbT4Bfp-HFcMh_CZ5anfH0CLfmoqCz9SUr9c"
39
40 225.1445 MiB 0.0000 MiB http = creds.authorize(httplib2.Http())
41 225.1445 MiB 0.0000 MiB service = discovery.build("sheets", "v4", http=http,
42 225.1445 MiB 0.0000 MiB discoveryServiceUrl=(DISCOVERY_URL), cache_discovery=False)
43 241.0938 MiB 15.9492 MiB result = service.spreadsheets().values().get(
44 241.0938 MiB 0.0000 MiB spreadsheetId=sheet_id, range="A1:O").execute()
45 241.0938 MiB 0.0000 MiB values = result.get("values", [])
46
47 241.0938 MiB 0.0000 MiB print("Got {} rows".format(len(values)))
Got 760 rows
Filename: ./main.py
Line # Mem usage Increment Line Contents
================================================
35 241.0938 MiB 241.0938 MiB @profile(precision=4)
36 def get_responses(creds):
37 """Fetch spreadsheet data."""
38 241.0938 MiB 0.0000 MiB sheet_id = "1TowKJrFVbT4Bfp-HFcMh_CZ5anfH0CLfmoqCz9SUr9c"
39
40 241.0938 MiB 0.0000 MiB http = creds.authorize(httplib2.Http())
41 241.0938 MiB 0.0000 MiB service = discovery.build("sheets", "v4", http=http,
42 241.0938 MiB 0.0000 MiB discoveryServiceUrl=(DISCOVERY_URL), cache_discovery=False)
43 229.6055 MiB -11.4883 MiB result = service.spreadsheets().values().get(
44 229.6055 MiB 0.0000 MiB spreadsheetId=sheet_id, range="A1:O").execute()
45 229.6055 MiB 0.0000 MiB values = result.get("values", [])
46
47 229.6055 MiB 0.0000 MiB print("Got {} rows".format(len(values)))
Got 760 rows
Filename: ./main.py
Line # Mem usage Increment Line Contents
================================================
35 229.6055 MiB 229.6055 MiB @profile(precision=4)
36 def get_responses(creds):
37 """Fetch spreadsheet data."""
38 229.6055 MiB 0.0000 MiB sheet_id = "1TowKJrFVbT4Bfp-HFcMh_CZ5anfH0CLfmoqCz9SUr9c"
39
40 229.6055 MiB 0.0000 MiB http = creds.authorize(httplib2.Http())
41 229.6055 MiB 0.0000 MiB service = discovery.build("sheets", "v4", http=http,
42 229.6055 MiB 0.0000 MiB discoveryServiceUrl=(DISCOVERY_URL), cache_discovery=False)
43 229.6055 MiB 0.0000 MiB result = service.spreadsheets().values().get(
44 229.6055 MiB 0.0000 MiB spreadsheetId=sheet_id, range="A1:O").execute()
45 229.6055 MiB 0.0000 MiB values = result.get("values", [])
46
47 229.6055 MiB 0.0000 MiB print("Got {} rows".format(len(values)))
Got 760 rows
Filename: ./main.py
Line # Mem usage Increment Line Contents
================================================
35 229.6055 MiB 229.6055 MiB @profile(precision=4)
36 def get_responses(creds):
37 """Fetch spreadsheet data."""
38 229.6055 MiB 0.0000 MiB sheet_id = "1TowKJrFVbT4Bfp-HFcMh_CZ5anfH0CLfmoqCz9SUr9c"
39
40 229.6055 MiB 0.0000 MiB http = creds.authorize(httplib2.Http())
41 229.6055 MiB 0.0000 MiB service = discovery.build("sheets", "v4", http=http,
42 229.6055 MiB 0.0000 MiB discoveryServiceUrl=(DISCOVERY_URL), cache_discovery=False)
43 229.6055 MiB 0.0000 MiB result = service.spreadsheets().values().get(
44 229.6055 MiB 0.0000 MiB spreadsheetId=sheet_id, range="A1:O").execute()
45 229.6055 MiB 0.0000 MiB values = result.get("values", [])
46
47 229.6055 MiB 0.0000 MiB print("Got {} rows".format(len(values)))
Got 760 rows
Filename: ./main.py
Line # Mem usage Increment Line Contents
================================================
35 229.6055 MiB 229.6055 MiB @profile(precision=4)
36 def get_responses(creds):
37 """Fetch spreadsheet data."""
38 229.6055 MiB 0.0000 MiB sheet_id = "1TowKJrFVbT4Bfp-HFcMh_CZ5anfH0CLfmoqCz9SUr9c"
39
40 229.6055 MiB 0.0000 MiB http = creds.authorize(httplib2.Http())
41 229.6055 MiB 0.0000 MiB service = discovery.build("sheets", "v4", http=http,
42 229.6055 MiB 0.0000 MiB discoveryServiceUrl=(DISCOVERY_URL), cache_discovery=False)
43 229.6055 MiB 0.0000 MiB result = service.spreadsheets().values().get(
44 229.6055 MiB 0.0000 MiB spreadsheetId=sheet_id, range="A1:O").execute()
45 229.6055 MiB 0.0000 MiB values = result.get("values", [])
46
47 229.6055 MiB 0.0000 MiB print("Got {} rows".format(len(values)))
Got 760 rows
Filename: ./main.py
Line # Mem usage Increment Line Contents
================================================
35 229.6055 MiB 229.6055 MiB @profile(precision=4)
36 def get_responses(creds):
37 """Fetch spreadsheet data."""
38 229.6055 MiB 0.0000 MiB sheet_id = "1TowKJrFVbT4Bfp-HFcMh_CZ5anfH0CLfmoqCz9SUr9c"
39
40 229.6055 MiB 0.0000 MiB http = creds.authorize(httplib2.Http())
41 229.6055 MiB 0.0000 MiB service = discovery.build("sheets", "v4", http=http,
42 229.6055 MiB 0.0000 MiB discoveryServiceUrl=(DISCOVERY_URL), cache_discovery=False)
43 229.6055 MiB 0.0000 MiB result = service.spreadsheets().values().get(
44 229.6055 MiB 0.0000 MiB spreadsheetId=sheet_id, range="A1:O").execute()
45 229.6055 MiB 0.0000 MiB values = result.get("values", [])
46
47 229.6055 MiB 0.0000 MiB print("Got {} rows".format(len(values)))
Got 760 rows
Filename: ./main.py
Line # Mem usage Increment Line Contents
================================================
35 229.6055 MiB 229.6055 MiB @profile(precision=4)
36 def get_responses(creds):
37 """Fetch spreadsheet data."""
38 229.6055 MiB 0.0000 MiB sheet_id = "1TowKJrFVbT4Bfp-HFcMh_CZ5anfH0CLfmoqCz9SUr9c"
39
40 229.6055 MiB 0.0000 MiB http = creds.authorize(httplib2.Http())
41 229.6055 MiB 0.0000 MiB service = discovery.build("sheets", "v4", http=http,
42 229.6055 MiB 0.0000 MiB discoveryServiceUrl=(DISCOVERY_URL), cache_discovery=False)
43 229.6055 MiB 0.0000 MiB result = service.spreadsheets().values().get(
44 229.6055 MiB 0.0000 MiB spreadsheetId=sheet_id, range="A1:O").execute()
45 229.6055 MiB 0.0000 MiB values = result.get("values", [])
46
47 229.6055 MiB 0.0000 MiB print("Got {} rows".format(len(values)))
Got 760 rows
Filename: ./main.py
Line # Mem usage Increment Line Contents
================================================
35 229.6055 MiB 229.6055 MiB @profile(precision=4)
36 def get_responses(creds):
37 """Fetch spreadsheet data."""
38 229.6055 MiB 0.0000 MiB sheet_id = "1TowKJrFVbT4Bfp-HFcMh_CZ5anfH0CLfmoqCz9SUr9c"
39
40 229.6055 MiB 0.0000 MiB http = creds.authorize(httplib2.Http())
41 229.6055 MiB 0.0000 MiB service = discovery.build("sheets", "v4", http=http,
42 229.6055 MiB 0.0000 MiB discoveryServiceUrl=(DISCOVERY_URL), cache_discovery=False)
43 229.6055 MiB 0.0000 MiB result = service.spreadsheets().values().get(
44 229.6055 MiB 0.0000 MiB spreadsheetId=sheet_id, range="A1:O").execute()
45 229.6055 MiB 0.0000 MiB values = result.get("values", [])
46
47 229.6055 MiB 0.0000 MiB print("Got {} rows".format(len(values)))
Got 760 rows
Filename: ./main.py
Line # Mem usage Increment Line Contents
================================================
35 229.6055 MiB 229.6055 MiB @profile(precision=4)
36 def get_responses(creds):
37 """Fetch spreadsheet data."""
38 229.6055 MiB 0.0000 MiB sheet_id = "1TowKJrFVbT4Bfp-HFcMh_CZ5anfH0CLfmoqCz9SUr9c"
39
40 229.6055 MiB 0.0000 MiB http = creds.authorize(httplib2.Http())
41 229.6055 MiB 0.0000 MiB service = discovery.build("sheets", "v4", http=http,
42 229.6055 MiB 0.0000 MiB discoveryServiceUrl=(DISCOVERY_URL), cache_discovery=False)
43 229.6055 MiB 0.0000 MiB result = service.spreadsheets().values().get(
44 229.6055 MiB 0.0000 MiB spreadsheetId=sheet_id, range="A1:O").execute()
45 229.6055 MiB 0.0000 MiB values = result.get("values", [])
46
47 229.6055 MiB 0.0000 MiB print("Got {} rows".format(len(values)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment