From c828500479508b419ab4c1237a3a49ea113e0cea Mon Sep 17 00:00:00 2001 From: alifeee Date: Wed, 29 Nov 2023 12:38:18 +0000 Subject: [PATCH 01/17] remove redundant kwarg --- tests/worksheet_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/worksheet_test.py b/tests/worksheet_test.py index d65bac44b..59d5fa363 100644 --- a/tests/worksheet_test.py +++ b/tests/worksheet_test.py @@ -933,7 +933,7 @@ def test_get_all_records_duplicate_keys(self): with pytest.raises(GSpreadException): self.sheet.get_all_records() - @pytest.mark.vcr(allow_playback_repeats=True) + @pytest.mark.vcr() def test_get_all_records_expected_headers(self): self.sheet.resize(4, 4) From 5c24ed6a3142a42a3acdd937af905feac7b256d8 Mon Sep 17 00:00:00 2001 From: alifeee Date: Wed, 29 Nov 2023 12:39:06 +0000 Subject: [PATCH 02/17] add failing test for get_records with blank header --- tests/worksheet_test.py | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/tests/worksheet_test.py b/tests/worksheet_test.py index 59d5fa363..74a2e3ca5 100644 --- a/tests/worksheet_test.py +++ b/tests/worksheet_test.py @@ -972,6 +972,38 @@ def test_get_all_records_expected_headers(self): self.assertDictEqual(expected_values_2, read_records[1]) self.assertDictEqual(expected_values_3, read_records[2]) + @pytest.mark.vcr() + def test_get_all_records_expected_headers_with_blank(self): + # regression test for #590, #629, #1354 + self.sheet.resize(4, 4) + + # put in new values + rows = [ + ["A1", "faff", "", ""], + [1, "b2", 1.45, ""], + ["", "", "", ""], + ["A4", 0.4, "", 4], + ] + cell_list = self.sheet.range("A1:D4") + for cell, value in zip(cell_list, itertools.chain(*rows)): + cell.value = value + self.sheet.update_cells(cell_list) + + with pytest.raises(GSpreadException): + self.sheet.get_all_records() + + expected_headers = [] + read_records = self.sheet.get_all_records( + expected_headers=expected_headers, + ) + + expected_values_1 = dict(zip(rows[0], rows[1])) + expected_values_2 = dict(zip(rows[0], rows[2])) + expected_values_3 = dict(zip(rows[0], rows[3])) + self.assertDictEqual(expected_values_1, read_records[0]) + self.assertDictEqual(expected_values_2, read_records[1]) + self.assertDictEqual(expected_values_3, read_records[2]) + @pytest.mark.vcr() def test_get_all_records_numericise_unformatted(self): self.sheet.resize(2, 4) From c43dbf8ce9675d96776d720fb54ec64c8bf7b7c4 Mon Sep 17 00:00:00 2001 From: alifeee Date: Wed, 29 Nov 2023 12:39:46 +0000 Subject: [PATCH 03/17] move "get values" code to above checks in get_records --- gspread/worksheet.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gspread/worksheet.py b/gspread/worksheet.py index cd69befa9..c96140cd7 100644 --- a/gspread/worksheet.py +++ b/gspread/worksheet.py @@ -687,6 +687,12 @@ def get_records( # noqa: C901 # this comment disables the complexity check for "{head}:{head}".format(head=head), value_render_option=value_render_option )[0] + values = self.get_values( + "{first_index}:{last_index}".format( + first_index=first_index, last_index=last_index + ), + value_render_option=value_render_option, + ) if expected_headers is None: # all headers must be unique header_row_is_unique = len(keys) == len(set(keys)) From 8b4189e58fd2867fe8ff913d24c62ffd40b15c14 Mon Sep 17 00:00:00 2001 From: alifeee Date: Wed, 29 Nov 2023 12:40:30 +0000 Subject: [PATCH 04/17] move logic for values_wider_than_keys above... unique check this way we can pad headers/values so they are the same width then, if headers has empty values, it will be found by the uniqueness check --- gspread/worksheet.py | 33 ++++++++++----------------------- 1 file changed, 10 insertions(+), 23 deletions(-) diff --git a/gspread/worksheet.py b/gspread/worksheet.py index c96140cd7..fe16de68f 100644 --- a/gspread/worksheet.py +++ b/gspread/worksheet.py @@ -693,6 +693,16 @@ def get_records( # noqa: C901 # this comment disables the complexity check for ), value_render_option=value_render_option, ) + + values_len = len(values[0]) + keys_len = len(keys) + values_wider_than_keys_by = values_len - keys_len + + if values_wider_than_keys_by > 0: + keys.extend([default_blank] * values_wider_than_keys_by) + elif values_wider_than_keys_by < 0: + values = fill_gaps(values, cols=keys_len, padding_value=default_blank) + if expected_headers is None: # all headers must be unique header_row_is_unique = len(keys) == len(set(keys)) @@ -713,29 +723,6 @@ def get_records( # noqa: C901 # this comment disables the complexity check for ) ) - values = self.get_values( - "{first_index}:{last_index}".format( - first_index=first_index, last_index=last_index - ), - value_render_option=value_render_option, - ) - - values_len = len(values[0]) - keys_len = len(keys) - values_wider_than_keys_by = values_len - keys_len - default_blank_in_keys = default_blank in keys - - if ((values_wider_than_keys_by > 0) and default_blank_in_keys) or ( - values_wider_than_keys_by > 1 - ): - raise GSpreadException( - "the header row in the worksheet contains multiple empty cells" - ) - elif values_wider_than_keys_by == 1: - keys.append(default_blank) - elif values_wider_than_keys_by < 0: - values = fill_gaps(values, cols=keys_len, padding_value=default_blank) - if numericise_ignore == ["all"]: pass else: From 0921c05e840c3fde930e79dc9119cccf40416607 Mon Sep 17 00:00:00 2001 From: alifeee Date: Wed, 29 Nov 2023 12:40:38 +0000 Subject: [PATCH 05/17] update test cassettes --- ...t.test_get_all_records_duplicate_keys.json | 359 ++++--- ...test_get_all_records_expected_headers.json | 566 +++++++---- ...l_records_expected_headers_with_blank.json | 904 ++++++++++++++++++ 3 files changed, 1476 insertions(+), 353 deletions(-) create mode 100644 tests/cassettes/WorksheetTest.test_get_all_records_expected_headers_with_blank.json diff --git a/tests/cassettes/WorksheetTest.test_get_all_records_duplicate_keys.json b/tests/cassettes/WorksheetTest.test_get_all_records_duplicate_keys.json index c122b9384..643fdd709 100644 --- a/tests/cassettes/WorksheetTest.test_get_all_records_duplicate_keys.json +++ b/tests/cassettes/WorksheetTest.test_get_all_records_duplicate_keys.json @@ -36,55 +36,55 @@ "message": "OK" }, "headers": { - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Pragma": [ - "no-cache" - ], - "Date": [ - "Mon, 25 Sep 2023 12:21:06 GMT" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" + "Vary": [ + "Origin, X-Origin" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "Content-Type": [ "application/json; charset=UTF-8" ], + "Pragma": [ + "no-cache" + ], "Server": [ "ESF" ], - "Vary": [ - "Origin, X-Origin" - ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "Date": [ + "Wed, 29 Nov 2023 12:36:53 GMT" ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "208" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"11bWsqSbsHcGxQjQeQwXVyueUNfI9l2sIK_RamVPFygY\",\n \"name\": \"Test WorksheetTest test_get_all_records_duplicate_keys\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1LpWaxSELQM6AwD6zYLgu2QKHH4guQq22bxh6MzQpfJw\",\n \"name\": \"Test WorksheetTest test_get_all_records_duplicate_keys\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/11bWsqSbsHcGxQjQeQwXVyueUNfI9l2sIK_RamVPFygY?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1LpWaxSELQM6AwD6zYLgu2QKHH4guQq22bxh6MzQpfJw?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -110,54 +110,54 @@ "message": "OK" }, "headers": { - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Date": [ - "Mon, 25 Sep 2023 12:21:07 GMT" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "x-l2-request-path": [ "l2-managed-6" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Cache-Control": [ + "private" + ], "Content-Type": [ "application/json; charset=UTF-8" ], "Server": [ "ESF" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" + "Date": [ + "Wed, 29 Nov 2023 12:36:54 GMT" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "3352" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"11bWsqSbsHcGxQjQeQwXVyueUNfI9l2sIK_RamVPFygY\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_duplicate_keys\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/11bWsqSbsHcGxQjQeQwXVyueUNfI9l2sIK_RamVPFygY/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1LpWaxSELQM6AwD6zYLgu2QKHH4guQq22bxh6MzQpfJw\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_duplicate_keys\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1LpWaxSELQM6AwD6zYLgu2QKHH4guQq22bxh6MzQpfJw/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/11bWsqSbsHcGxQjQeQwXVyueUNfI9l2sIK_RamVPFygY?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1LpWaxSELQM6AwD6zYLgu2QKHH4guQq22bxh6MzQpfJw?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -183,54 +183,54 @@ "message": "OK" }, "headers": { - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Date": [ - "Mon, 25 Sep 2023 12:21:07 GMT" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "x-l2-request-path": [ "l2-managed-6" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Cache-Control": [ + "private" + ], "Content-Type": [ "application/json; charset=UTF-8" ], "Server": [ "ESF" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" + "Date": [ + "Wed, 29 Nov 2023 12:36:54 GMT" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "3352" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"11bWsqSbsHcGxQjQeQwXVyueUNfI9l2sIK_RamVPFygY\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_duplicate_keys\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/11bWsqSbsHcGxQjQeQwXVyueUNfI9l2sIK_RamVPFygY/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1LpWaxSELQM6AwD6zYLgu2QKHH4guQq22bxh6MzQpfJw\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_duplicate_keys\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1LpWaxSELQM6AwD6zYLgu2QKHH4guQq22bxh6MzQpfJw/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/11bWsqSbsHcGxQjQeQwXVyueUNfI9l2sIK_RamVPFygY/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1LpWaxSELQM6AwD6zYLgu2QKHH4guQq22bxh6MzQpfJw/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -259,54 +259,54 @@ "message": "OK" }, "headers": { - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Date": [ - "Mon, 25 Sep 2023 12:21:07 GMT" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "x-l2-request-path": [ "l2-managed-6" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Cache-Control": [ + "private" + ], "Content-Type": [ "application/json; charset=UTF-8" ], "Server": [ "ESF" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" + "Date": [ + "Wed, 29 Nov 2023 12:36:55 GMT" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "107" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"11bWsqSbsHcGxQjQeQwXVyueUNfI9l2sIK_RamVPFygY\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1LpWaxSELQM6AwD6zYLgu2QKHH4guQq22bxh6MzQpfJw\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/11bWsqSbsHcGxQjQeQwXVyueUNfI9l2sIK_RamVPFygY:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1LpWaxSELQM6AwD6zYLgu2QKHH4guQq22bxh6MzQpfJw:batchUpdate", "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 4, \"columnCount\": 4}}, \"fields\": \"gridProperties/rowCount,gridProperties/columnCount\"}}]}", "headers": { "User-Agent": [ @@ -338,54 +338,54 @@ "message": "OK" }, "headers": { - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Date": [ - "Mon, 25 Sep 2023 12:21:08 GMT" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "x-l2-request-path": [ "l2-managed-6" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Cache-Control": [ + "private" + ], "Content-Type": [ "application/json; charset=UTF-8" ], "Server": [ "ESF" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" + "Date": [ + "Wed, 29 Nov 2023 12:36:55 GMT" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "97" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"11bWsqSbsHcGxQjQeQwXVyueUNfI9l2sIK_RamVPFygY\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1LpWaxSELQM6AwD6zYLgu2QKHH4guQq22bxh6MzQpfJw\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/11bWsqSbsHcGxQjQeQwXVyueUNfI9l2sIK_RamVPFygY/values/%27Sheet1%27%21A1%3AD4", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1LpWaxSELQM6AwD6zYLgu2QKHH4guQq22bxh6MzQpfJw/values/%27Sheet1%27%21A1%3AD4", "body": null, "headers": { "User-Agent": [ @@ -411,40 +411,40 @@ "message": "OK" }, "headers": { - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Date": [ - "Mon, 25 Sep 2023 12:21:08 GMT" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "x-l2-request-path": [ "l2-managed-6" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Cache-Control": [ + "private" + ], "Content-Type": [ "application/json; charset=UTF-8" ], "Server": [ "ESF" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" + "Date": [ + "Wed, 29 Nov 2023 12:36:56 GMT" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "58" @@ -458,7 +458,7 @@ { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/11bWsqSbsHcGxQjQeQwXVyueUNfI9l2sIK_RamVPFygY/values/%27Sheet1%27%21A1%3AD4?valueInputOption=RAW", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1LpWaxSELQM6AwD6zYLgu2QKHH4guQq22bxh6MzQpfJw/values/%27Sheet1%27%21A1%3AD4?valueInputOption=RAW", "body": "{\"values\": [[\"A1\", \"A1\", \"\", \"D1\"], [1, \"b2\", 1.45, \"\"], [\"\", \"\", \"\", \"\"], [\"A4\", 0.4, \"\", 4]]}", "headers": { "User-Agent": [ @@ -490,54 +490,54 @@ "message": "OK" }, "headers": { - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Date": [ - "Mon, 25 Sep 2023 12:21:08 GMT" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "x-l2-request-path": [ "l2-managed-6" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Cache-Control": [ + "private" + ], "Content-Type": [ "application/json; charset=UTF-8" ], "Server": [ "ESF" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" + "Date": [ + "Wed, 29 Nov 2023 12:36:56 GMT" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" ], "content-length": [ "169" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"11bWsqSbsHcGxQjQeQwXVyueUNfI9l2sIK_RamVPFygY\",\n \"updatedRange\": \"Sheet1!A1:D4\",\n \"updatedRows\": 4,\n \"updatedColumns\": 4,\n \"updatedCells\": 16\n}\n" + "string": "{\n \"spreadsheetId\": \"1LpWaxSELQM6AwD6zYLgu2QKHH4guQq22bxh6MzQpfJw\",\n \"updatedRange\": \"Sheet1!A1:D4\",\n \"updatedRows\": 4,\n \"updatedColumns\": 4,\n \"updatedCells\": 16\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/11bWsqSbsHcGxQjQeQwXVyueUNfI9l2sIK_RamVPFygY/values/%27Sheet1%27%211%3A1", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1LpWaxSELQM6AwD6zYLgu2QKHH4guQq22bxh6MzQpfJw/values/%27Sheet1%27%211%3A1", "body": null, "headers": { "User-Agent": [ @@ -563,54 +563,127 @@ "message": "OK" }, "headers": { - "X-Frame-Options": [ - "SAMEORIGIN" - ], "Transfer-Encoding": [ "chunked" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Date": [ - "Mon, 25 Sep 2023 12:21:08 GMT" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "x-l2-request-path": [ "l2-managed-6" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Cache-Control": [ + "private" + ], "Content-Type": [ "application/json; charset=UTF-8" ], "Server": [ "ESF" ], + "Date": [ + "Wed, 29 Nov 2023 12:36:56 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "134" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:D1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"A1\",\n \"\",\n \"D1\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1LpWaxSELQM6AwD6zYLgu2QKHH4guQq22bxh6MzQpfJw/values/%27Sheet1%27%212%3A4", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Transfer-Encoding": [ + "chunked" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-XSS-Protection": [ + "0" + ], "Vary": [ "Origin", "X-Origin", "Referer" ], + "x-l2-request-path": [ + "l2-managed-6" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Cache-Control": [ "private" ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Server": [ + "ESF" + ], + "Date": [ + "Wed, 29 Nov 2023 12:36:57 GMT" + ], + "X-Content-Type-Options": [ + "nosniff" + ], "content-length": [ - "134" + "191" ] }, "body": { - "string": "{\n \"range\": \"Sheet1!A1:D1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"A1\",\n \"\",\n \"D1\"\n ]\n ]\n}\n" + "string": "{\n \"range\": \"Sheet1!A2:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"1\",\n \"b2\",\n \"1.45\"\n ],\n [],\n [\n \"A4\",\n \"0.4\",\n \"\",\n \"4\"\n ]\n ]\n}\n" } } }, { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/11bWsqSbsHcGxQjQeQwXVyueUNfI9l2sIK_RamVPFygY?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1LpWaxSELQM6AwD6zYLgu2QKHH4guQq22bxh6MzQpfJw?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -639,41 +712,41 @@ "message": "No Content" }, "headers": { - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Pragma": [ - "no-cache" - ], - "Date": [ - "Mon, 25 Sep 2023 12:21:09 GMT" - ], "X-XSS-Protection": [ "0" ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Length": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "Content-Type": [ "text/html" ], + "Pragma": [ + "no-cache" + ], "Server": [ "ESF" ], - "Vary": [ - "Origin, X-Origin" - ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "Date": [ + "Wed, 29 Nov 2023 12:36:57 GMT" ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "X-Content-Type-Options": [ + "nosniff" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_get_all_records_expected_headers.json b/tests/cassettes/WorksheetTest.test_get_all_records_expected_headers.json index a0e98fc37..1c11c261f 100644 --- a/tests/cassettes/WorksheetTest.test_get_all_records_expected_headers.json +++ b/tests/cassettes/WorksheetTest.test_get_all_records_expected_headers.json @@ -36,55 +36,55 @@ "message": "OK" }, "headers": { + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Origin, X-Origin" + ], "Content-Type": [ "application/json; charset=UTF-8" ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Vary": [ - "Origin, X-Origin" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "X-XSS-Protection": [ + "0" + ], "Server": [ "ESF" ], + "Transfer-Encoding": [ + "chunked" + ], "Date": [ - "Wed, 15 Nov 2023 23:41:08 GMT" + "Wed, 29 Nov 2023 12:37:04 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Frame-Options": [ + "SAMEORIGIN" ], "X-Content-Type-Options": [ "nosniff" ], - "Pragma": [ - "no-cache" - ], - "Transfer-Encoding": [ - "chunked" - ], "content-length": [ "210" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1BjL_x5zcE44xUADG790o-5tO9_W_Dog-7zbfuo9yLA4\",\n \"name\": \"Test WorksheetTest test_get_all_records_expected_headers\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1Myprvcd1uvJOan-Nb3mrGhN0mCAh4ULvq7CU1VEZK84\",\n \"name\": \"Test WorksheetTest test_get_all_records_expected_headers\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1BjL_x5zcE44xUADG790o-5tO9_W_Dog-7zbfuo9yLA4?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Myprvcd1uvJOan-Nb3mrGhN0mCAh4ULvq7CU1VEZK84?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -113,51 +113,51 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "X-XSS-Protection": [ - "0" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Cache-Control": [ + "private" ], "x-l2-request-path": [ "l2-managed-6" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "X-XSS-Protection": [ + "0" + ], + "Server": [ + "ESF" + ], + "Date": [ + "Wed, 29 Nov 2023 12:37:05 GMT" + ], + "Transfer-Encoding": [ + "chunked" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Server": [ - "ESF" - ], - "Cache-Control": [ - "private" - ], - "Date": [ - "Wed, 15 Nov 2023 23:41:09 GMT" + "X-Frame-Options": [ + "SAMEORIGIN" ], "X-Content-Type-Options": [ "nosniff" ], - "Transfer-Encoding": [ - "chunked" - ], "content-length": [ "3354" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1BjL_x5zcE44xUADG790o-5tO9_W_Dog-7zbfuo9yLA4\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_expected_headers\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1BjL_x5zcE44xUADG790o-5tO9_W_Dog-7zbfuo9yLA4/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1Myprvcd1uvJOan-Nb3mrGhN0mCAh4ULvq7CU1VEZK84\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_expected_headers\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1Myprvcd1uvJOan-Nb3mrGhN0mCAh4ULvq7CU1VEZK84/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1BjL_x5zcE44xUADG790o-5tO9_W_Dog-7zbfuo9yLA4?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Myprvcd1uvJOan-Nb3mrGhN0mCAh4ULvq7CU1VEZK84?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -186,51 +186,51 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "X-XSS-Protection": [ - "0" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Cache-Control": [ + "private" ], "x-l2-request-path": [ "l2-managed-6" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "X-XSS-Protection": [ + "0" + ], + "Server": [ + "ESF" + ], + "Date": [ + "Wed, 29 Nov 2023 12:37:05 GMT" + ], + "Transfer-Encoding": [ + "chunked" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Server": [ - "ESF" - ], - "Cache-Control": [ - "private" - ], - "Date": [ - "Wed, 15 Nov 2023 23:41:10 GMT" + "X-Frame-Options": [ + "SAMEORIGIN" ], "X-Content-Type-Options": [ "nosniff" ], - "Transfer-Encoding": [ - "chunked" - ], "content-length": [ "3354" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1BjL_x5zcE44xUADG790o-5tO9_W_Dog-7zbfuo9yLA4\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_expected_headers\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1BjL_x5zcE44xUADG790o-5tO9_W_Dog-7zbfuo9yLA4/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1Myprvcd1uvJOan-Nb3mrGhN0mCAh4ULvq7CU1VEZK84\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_expected_headers\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1Myprvcd1uvJOan-Nb3mrGhN0mCAh4ULvq7CU1VEZK84/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1BjL_x5zcE44xUADG790o-5tO9_W_Dog-7zbfuo9yLA4/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Myprvcd1uvJOan-Nb3mrGhN0mCAh4ULvq7CU1VEZK84/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -262,51 +262,51 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "X-XSS-Protection": [ - "0" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Cache-Control": [ + "private" ], "x-l2-request-path": [ "l2-managed-6" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "X-XSS-Protection": [ + "0" + ], + "Server": [ + "ESF" + ], + "Date": [ + "Wed, 29 Nov 2023 12:37:05 GMT" + ], + "Transfer-Encoding": [ + "chunked" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Server": [ - "ESF" - ], - "Cache-Control": [ - "private" - ], - "Date": [ - "Wed, 15 Nov 2023 23:41:10 GMT" + "X-Frame-Options": [ + "SAMEORIGIN" ], "X-Content-Type-Options": [ "nosniff" ], - "Transfer-Encoding": [ - "chunked" - ], "content-length": [ "107" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1BjL_x5zcE44xUADG790o-5tO9_W_Dog-7zbfuo9yLA4\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1Myprvcd1uvJOan-Nb3mrGhN0mCAh4ULvq7CU1VEZK84\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1BjL_x5zcE44xUADG790o-5tO9_W_Dog-7zbfuo9yLA4:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Myprvcd1uvJOan-Nb3mrGhN0mCAh4ULvq7CU1VEZK84:batchUpdate", "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 4, \"columnCount\": 4}}, \"fields\": \"gridProperties/rowCount,gridProperties/columnCount\"}}]}", "headers": { "User-Agent": [ @@ -341,51 +341,51 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "X-XSS-Protection": [ - "0" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Cache-Control": [ + "private" ], "x-l2-request-path": [ "l2-managed-6" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "X-XSS-Protection": [ + "0" + ], + "Server": [ + "ESF" + ], + "Date": [ + "Wed, 29 Nov 2023 12:37:06 GMT" + ], + "Transfer-Encoding": [ + "chunked" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Server": [ - "ESF" - ], - "Cache-Control": [ - "private" - ], - "Date": [ - "Wed, 15 Nov 2023 23:41:11 GMT" + "X-Frame-Options": [ + "SAMEORIGIN" ], "X-Content-Type-Options": [ "nosniff" ], - "Transfer-Encoding": [ - "chunked" - ], "content-length": [ "97" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1BjL_x5zcE44xUADG790o-5tO9_W_Dog-7zbfuo9yLA4\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1Myprvcd1uvJOan-Nb3mrGhN0mCAh4ULvq7CU1VEZK84\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1BjL_x5zcE44xUADG790o-5tO9_W_Dog-7zbfuo9yLA4/values/%27Sheet1%27%21A1%3AD4", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Myprvcd1uvJOan-Nb3mrGhN0mCAh4ULvq7CU1VEZK84/values/%27Sheet1%27%21A1%3AD4", "body": null, "headers": { "User-Agent": [ @@ -414,38 +414,38 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "X-XSS-Protection": [ - "0" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Cache-Control": [ + "private" ], "x-l2-request-path": [ "l2-managed-6" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "X-XSS-Protection": [ + "0" + ], + "Server": [ + "ESF" + ], + "Date": [ + "Wed, 29 Nov 2023 12:37:06 GMT" + ], + "Transfer-Encoding": [ + "chunked" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Server": [ - "ESF" - ], - "Cache-Control": [ - "private" - ], - "Date": [ - "Wed, 15 Nov 2023 23:41:11 GMT" + "X-Frame-Options": [ + "SAMEORIGIN" ], "X-Content-Type-Options": [ "nosniff" ], - "Transfer-Encoding": [ - "chunked" - ], "content-length": [ "58" ] @@ -458,7 +458,7 @@ { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1BjL_x5zcE44xUADG790o-5tO9_W_Dog-7zbfuo9yLA4/values/%27Sheet1%27%21A1%3AD4?valueInputOption=RAW", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Myprvcd1uvJOan-Nb3mrGhN0mCAh4ULvq7CU1VEZK84/values/%27Sheet1%27%21A1%3AD4?valueInputOption=RAW", "body": "{\"values\": [[\"A1\", \"faff\", \"C3\", \"faff\"], [1, \"b2\", 1.45, \"\"], [\"\", \"\", \"\", \"\"], [\"A4\", 0.4, \"\", 4]]}", "headers": { "User-Agent": [ @@ -493,51 +493,51 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "X-XSS-Protection": [ - "0" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Cache-Control": [ + "private" ], "x-l2-request-path": [ "l2-managed-6" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "X-XSS-Protection": [ + "0" + ], + "Server": [ + "ESF" + ], + "Date": [ + "Wed, 29 Nov 2023 12:37:06 GMT" + ], + "Transfer-Encoding": [ + "chunked" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Server": [ - "ESF" - ], - "Cache-Control": [ - "private" - ], - "Date": [ - "Wed, 15 Nov 2023 23:41:12 GMT" + "X-Frame-Options": [ + "SAMEORIGIN" ], "X-Content-Type-Options": [ "nosniff" ], - "Transfer-Encoding": [ - "chunked" - ], "content-length": [ "169" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1BjL_x5zcE44xUADG790o-5tO9_W_Dog-7zbfuo9yLA4\",\n \"updatedRange\": \"Sheet1!A1:D4\",\n \"updatedRows\": 4,\n \"updatedColumns\": 4,\n \"updatedCells\": 16\n}\n" + "string": "{\n \"spreadsheetId\": \"1Myprvcd1uvJOan-Nb3mrGhN0mCAh4ULvq7CU1VEZK84\",\n \"updatedRange\": \"Sheet1!A1:D4\",\n \"updatedRows\": 4,\n \"updatedColumns\": 4,\n \"updatedCells\": 16\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1BjL_x5zcE44xUADG790o-5tO9_W_Dog-7zbfuo9yLA4/values/%27Sheet1%27%211%3A1", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Myprvcd1uvJOan-Nb3mrGhN0mCAh4ULvq7CU1VEZK84/values/%27Sheet1%27%211%3A1", "body": null, "headers": { "User-Agent": [ @@ -566,38 +566,38 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "X-XSS-Protection": [ - "0" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Cache-Control": [ + "private" ], "x-l2-request-path": [ "l2-managed-6" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "X-XSS-Protection": [ + "0" + ], + "Server": [ + "ESF" + ], + "Date": [ + "Wed, 29 Nov 2023 12:37:07 GMT" + ], + "Transfer-Encoding": [ + "chunked" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Server": [ - "ESF" - ], - "Cache-Control": [ - "private" - ], - "Date": [ - "Wed, 15 Nov 2023 23:41:12 GMT" + "X-Frame-Options": [ + "SAMEORIGIN" ], "X-Content-Type-Options": [ "nosniff" ], - "Transfer-Encoding": [ - "chunked" - ], "content-length": [ "140" ] @@ -610,7 +610,7 @@ { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1BjL_x5zcE44xUADG790o-5tO9_W_Dog-7zbfuo9yLA4/values/%27Sheet1%27%211%3A1", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Myprvcd1uvJOan-Nb3mrGhN0mCAh4ULvq7CU1VEZK84/values/%27Sheet1%27%212%3A4", "body": null, "headers": { "User-Agent": [ @@ -639,38 +639,111 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "X-XSS-Protection": [ - "0" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Cache-Control": [ + "private" ], "x-l2-request-path": [ "l2-managed-6" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "X-XSS-Protection": [ + "0" + ], + "Server": [ + "ESF" + ], + "Date": [ + "Wed, 29 Nov 2023 12:37:07 GMT" + ], + "Transfer-Encoding": [ + "chunked" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Server": [ - "ESF" + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "191" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A2:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"1\",\n \"b2\",\n \"1.45\"\n ],\n [],\n [\n \"A4\",\n \"0.4\",\n \"\",\n \"4\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Myprvcd1uvJOan-Nb3mrGhN0mCAh4ULvq7CU1VEZK84/values/%27Sheet1%27%211%3A1", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Cache-Control": [ "private" ], - "Date": [ - "Wed, 15 Nov 2023 23:41:13 GMT" + "x-l2-request-path": [ + "l2-managed-6" ], - "X-Content-Type-Options": [ - "nosniff" + "X-XSS-Protection": [ + "0" + ], + "Server": [ + "ESF" + ], + "Date": [ + "Wed, 29 Nov 2023 12:37:08 GMT" ], "Transfer-Encoding": [ "chunked" ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], "content-length": [ "140" ] @@ -683,7 +756,7 @@ { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1BjL_x5zcE44xUADG790o-5tO9_W_Dog-7zbfuo9yLA4/values/%27Sheet1%27%211%3A1", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Myprvcd1uvJOan-Nb3mrGhN0mCAh4ULvq7CU1VEZK84/values/%27Sheet1%27%212%3A4", "body": null, "headers": { "User-Agent": [ @@ -712,38 +785,111 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "X-XSS-Protection": [ - "0" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Cache-Control": [ + "private" ], "x-l2-request-path": [ "l2-managed-6" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "X-XSS-Protection": [ + "0" + ], + "Server": [ + "ESF" + ], + "Date": [ + "Wed, 29 Nov 2023 12:37:08 GMT" + ], + "Transfer-Encoding": [ + "chunked" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Server": [ - "ESF" + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "191" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A2:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"1\",\n \"b2\",\n \"1.45\"\n ],\n [],\n [\n \"A4\",\n \"0.4\",\n \"\",\n \"4\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Myprvcd1uvJOan-Nb3mrGhN0mCAh4ULvq7CU1VEZK84/values/%27Sheet1%27%211%3A1", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "Cache-Control": [ "private" ], - "Date": [ - "Wed, 15 Nov 2023 23:41:13 GMT" + "x-l2-request-path": [ + "l2-managed-6" ], - "X-Content-Type-Options": [ - "nosniff" + "X-XSS-Protection": [ + "0" + ], + "Server": [ + "ESF" + ], + "Date": [ + "Wed, 29 Nov 2023 12:37:09 GMT" ], "Transfer-Encoding": [ "chunked" ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], "content-length": [ "140" ] @@ -756,7 +902,7 @@ { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1BjL_x5zcE44xUADG790o-5tO9_W_Dog-7zbfuo9yLA4/values/%27Sheet1%27%212%3A4", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Myprvcd1uvJOan-Nb3mrGhN0mCAh4ULvq7CU1VEZK84/values/%27Sheet1%27%212%3A4", "body": null, "headers": { "User-Agent": [ @@ -785,38 +931,38 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "X-XSS-Protection": [ - "0" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Cache-Control": [ + "private" ], "x-l2-request-path": [ "l2-managed-6" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "X-XSS-Protection": [ + "0" + ], + "Server": [ + "ESF" + ], + "Date": [ + "Wed, 29 Nov 2023 12:37:09 GMT" + ], + "Transfer-Encoding": [ + "chunked" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Server": [ - "ESF" - ], - "Cache-Control": [ - "private" - ], - "Date": [ - "Wed, 15 Nov 2023 23:41:13 GMT" + "X-Frame-Options": [ + "SAMEORIGIN" ], "X-Content-Type-Options": [ "nosniff" ], - "Transfer-Encoding": [ - "chunked" - ], "content-length": [ "191" ] @@ -829,7 +975,7 @@ { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1BjL_x5zcE44xUADG790o-5tO9_W_Dog-7zbfuo9yLA4?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1Myprvcd1uvJOan-Nb3mrGhN0mCAh4ULvq7CU1VEZK84?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -858,41 +1004,41 @@ "message": "No Content" }, "headers": { - "Content-Type": [ - "text/html" + "Pragma": [ + "no-cache" ], - "X-XSS-Protection": [ + "Vary": [ + "Origin, X-Origin" + ], + "Content-Length": [ "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Content-Type": [ + "text/html" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Vary": [ - "Origin, X-Origin" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], + "X-XSS-Protection": [ + "0" + ], "Server": [ "ESF" ], "Date": [ - "Wed, 15 Nov 2023 23:41:14 GMT" - ], - "Content-Length": [ - "0" + "Wed, 29 Nov 2023 12:37:10 GMT" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Frame-Options": [ + "SAMEORIGIN" ], "X-Content-Type-Options": [ "nosniff" - ], - "Pragma": [ - "no-cache" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_get_all_records_expected_headers_with_blank.json b/tests/cassettes/WorksheetTest.test_get_all_records_expected_headers_with_blank.json new file mode 100644 index 000000000..7b46d9a77 --- /dev/null +++ b/tests/cassettes/WorksheetTest.test_get_all_records_expected_headers_with_blank.json @@ -0,0 +1,904 @@ +{ + "version": 1, + "interactions": [ + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test WorksheetTest test_get_all_records_expected_headers_with_blank\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "Content-Length": [ + "134" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "X-XSS-Protection": [ + "0" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Date": [ + "Wed, 29 Nov 2023 12:37:12 GMT" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "221" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1kuxZpYCw5bX3Om1qFNyNCHmYLaISemicf6GJkKZUojc\",\n \"name\": \"Test WorksheetTest test_get_all_records_expected_headers_with_blank\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1kuxZpYCw5bX3Om1qFNyNCHmYLaISemicf6GJkKZUojc?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Cache-Control": [ + "private" + ], + "x-l2-request-path": [ + "l2-managed-6" + ], + "X-XSS-Protection": [ + "0" + ], + "Server": [ + "ESF" + ], + "Date": [ + "Wed, 29 Nov 2023 12:37:13 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3365" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1kuxZpYCw5bX3Om1qFNyNCHmYLaISemicf6GJkKZUojc\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_expected_headers_with_blank\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1kuxZpYCw5bX3Om1qFNyNCHmYLaISemicf6GJkKZUojc/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1kuxZpYCw5bX3Om1qFNyNCHmYLaISemicf6GJkKZUojc?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Cache-Control": [ + "private" + ], + "x-l2-request-path": [ + "l2-managed-6" + ], + "X-XSS-Protection": [ + "0" + ], + "Server": [ + "ESF" + ], + "Date": [ + "Wed, 29 Nov 2023 12:37:13 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "3365" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1kuxZpYCw5bX3Om1qFNyNCHmYLaISemicf6GJkKZUojc\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_expected_headers_with_blank\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1kuxZpYCw5bX3Om1qFNyNCHmYLaISemicf6GJkKZUojc/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1kuxZpYCw5bX3Om1qFNyNCHmYLaISemicf6GJkKZUojc/values/%27Sheet1%27:clear", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Cache-Control": [ + "private" + ], + "x-l2-request-path": [ + "l2-managed-6" + ], + "X-XSS-Protection": [ + "0" + ], + "Server": [ + "ESF" + ], + "Date": [ + "Wed, 29 Nov 2023 12:37:14 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1kuxZpYCw5bX3Om1qFNyNCHmYLaISemicf6GJkKZUojc\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1kuxZpYCw5bX3Om1qFNyNCHmYLaISemicf6GJkKZUojc:batchUpdate", + "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 4, \"columnCount\": 4}}, \"fields\": \"gridProperties/rowCount,gridProperties/columnCount\"}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "Content-Length": [ + "190" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Cache-Control": [ + "private" + ], + "x-l2-request-path": [ + "l2-managed-6" + ], + "X-XSS-Protection": [ + "0" + ], + "Server": [ + "ESF" + ], + "Date": [ + "Wed, 29 Nov 2023 12:37:14 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1kuxZpYCw5bX3Om1qFNyNCHmYLaISemicf6GJkKZUojc\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1kuxZpYCw5bX3Om1qFNyNCHmYLaISemicf6GJkKZUojc/values/%27Sheet1%27%21A1%3AD4", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Cache-Control": [ + "private" + ], + "x-l2-request-path": [ + "l2-managed-6" + ], + "X-XSS-Protection": [ + "0" + ], + "Server": [ + "ESF" + ], + "Date": [ + "Wed, 29 Nov 2023 12:37:15 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "58" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:D4\",\n \"majorDimension\": \"ROWS\"\n}\n" + } + } + }, + { + "request": { + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1kuxZpYCw5bX3Om1qFNyNCHmYLaISemicf6GJkKZUojc/values/%27Sheet1%27%21A1%3AD4?valueInputOption=RAW", + "body": "{\"values\": [[\"A1\", \"faff\", \"\", \"\"], [1, \"b2\", 1.45, \"\"], [\"\", \"\", \"\", \"\"], [\"A4\", 0.4, \"\", 4]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "Content-Length": [ + "95" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Cache-Control": [ + "private" + ], + "x-l2-request-path": [ + "l2-managed-6" + ], + "X-XSS-Protection": [ + "0" + ], + "Server": [ + "ESF" + ], + "Date": [ + "Wed, 29 Nov 2023 12:37:15 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "169" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1kuxZpYCw5bX3Om1qFNyNCHmYLaISemicf6GJkKZUojc\",\n \"updatedRange\": \"Sheet1!A1:D4\",\n \"updatedRows\": 4,\n \"updatedColumns\": 4,\n \"updatedCells\": 16\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1kuxZpYCw5bX3Om1qFNyNCHmYLaISemicf6GJkKZUojc/values/%27Sheet1%27%211%3A1", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Cache-Control": [ + "private" + ], + "x-l2-request-path": [ + "l2-managed-6" + ], + "X-XSS-Protection": [ + "0" + ], + "Server": [ + "ESF" + ], + "Date": [ + "Wed, 29 Nov 2023 12:37:16 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "114" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:D1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"faff\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1kuxZpYCw5bX3Om1qFNyNCHmYLaISemicf6GJkKZUojc/values/%27Sheet1%27%212%3A4", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Cache-Control": [ + "private" + ], + "x-l2-request-path": [ + "l2-managed-6" + ], + "X-XSS-Protection": [ + "0" + ], + "Server": [ + "ESF" + ], + "Date": [ + "Wed, 29 Nov 2023 12:37:16 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "191" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A2:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"1\",\n \"b2\",\n \"1.45\"\n ],\n [],\n [\n \"A4\",\n \"0.4\",\n \"\",\n \"4\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1kuxZpYCw5bX3Om1qFNyNCHmYLaISemicf6GJkKZUojc/values/%27Sheet1%27%211%3A1", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Cache-Control": [ + "private" + ], + "x-l2-request-path": [ + "l2-managed-6" + ], + "X-XSS-Protection": [ + "0" + ], + "Server": [ + "ESF" + ], + "Date": [ + "Wed, 29 Nov 2023 12:37:16 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "114" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:D1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"faff\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1kuxZpYCw5bX3Om1qFNyNCHmYLaISemicf6GJkKZUojc/values/%27Sheet1%27%212%3A4", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Cache-Control": [ + "private" + ], + "x-l2-request-path": [ + "l2-managed-6" + ], + "X-XSS-Protection": [ + "0" + ], + "Server": [ + "ESF" + ], + "Date": [ + "Wed, 29 Nov 2023 12:37:17 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "content-length": [ + "191" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A2:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"1\",\n \"b2\",\n \"1.45\"\n ],\n [],\n [\n \"A4\",\n \"0.4\",\n \"\",\n \"4\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1kuxZpYCw5bX3Om1qFNyNCHmYLaISemicf6GJkKZUojc?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Content-Length": [ + "0" + ], + "Content-Type": [ + "text/html" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "X-XSS-Protection": [ + "0" + ], + "Server": [ + "ESF" + ], + "Date": [ + "Wed, 29 Nov 2023 12:37:17 GMT" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "body": { + "string": "" + } + } + } + ] +} From b9f9f68ba1c46e62b37ed3f439d1917a5893ce00 Mon Sep 17 00:00:00 2001 From: alifeee Date: Wed, 29 Nov 2023 13:13:48 +0000 Subject: [PATCH 06/17] use sheet.update for verbosity --- tests/worksheet_test.py | 57 +++++++---------------------------------- 1 file changed, 9 insertions(+), 48 deletions(-) diff --git a/tests/worksheet_test.py b/tests/worksheet_test.py index 74a2e3ca5..706bd697c 100644 --- a/tests/worksheet_test.py +++ b/tests/worksheet_test.py @@ -805,10 +805,7 @@ def test_get_all_records(self): ["", "", "", ""], ["A4", 0.4, "", 4], ] - cell_list = self.sheet.range("A1:D4") - for cell, value in zip(cell_list, itertools.chain(*rows)): - cell.value = value - self.sheet.update_cells(cell_list) + self.sheet.update("A1:D4", rows) # first, read empty strings to empty strings read_records = self.sheet.get_all_records() @@ -846,10 +843,7 @@ def test_get_all_records_different_header(self): ["", "", "", ""], ["A4", 0.4, "", 4], ] - cell_list = self.sheet.range("A1:D6") - for cell, value in zip(cell_list, itertools.chain(*rows)): - cell.value = value - self.sheet.update_cells(cell_list) + self.sheet.update("A1:D6", rows) # first, read empty strings to empty strings read_records = self.sheet.get_all_records(head=3) @@ -984,10 +978,7 @@ def test_get_all_records_expected_headers_with_blank(self): ["", "", "", ""], ["A4", 0.4, "", 4], ] - cell_list = self.sheet.range("A1:D4") - for cell, value in zip(cell_list, itertools.chain(*rows)): - cell.value = value - self.sheet.update_cells(cell_list) + self.sheet.update("A1:D4", rows) with pytest.raises(GSpreadException): self.sheet.get_all_records() @@ -1038,10 +1029,7 @@ def test_get_records(self): [7, 8, 9], [10, 11, 12], ] - cell_list = self.sheet.range("A1:C5") - for cell, value in zip(cell_list, itertools.chain(*rows)): - cell.value = value - self.sheet.update_cells(cell_list) + self.sheet.update("A1:C5", rows) # test1 - set last_index only read_records = self.sheet.get_records(last_index=3) @@ -1088,14 +1076,7 @@ def test_get_records_pad_one_key(self): ["A1", "B1", "C1"], [1, 2, 3, 4], ] - cell_list = self.sheet.range("A1:C1") - for cell in cell_list: - cell.value = rows[0][cell.col - 1] - self.sheet.update_cells(cell_list) - cell_list = self.sheet.range("A2:D2") - for cell in cell_list: - cell.value = rows[1][cell.col - 1] - self.sheet.update_cells(cell_list) + self.sheet.update("A1:C2", rows) read_records = self.sheet.get_records(head=1, first_index=2, last_index=2) rows[0].append("") @@ -1108,19 +1089,9 @@ def test_get_records_pad_values(self): self.sheet.resize(2, 4) rows = [ ["A1", "B1", "C1"], - [ - 1, - 2, - ], + [1, 2], ] - cell_list = self.sheet.range("A1:C1") - for cell in cell_list: - cell.value = rows[0][cell.col - 1] - self.sheet.update_cells(cell_list) - cell_list = self.sheet.range("A2:B2") - for cell in cell_list: - cell.value = rows[1][cell.col - 1] - self.sheet.update_cells(cell_list) + self.sheet.update("A1:C2", rows) read_records = self.sheet.get_records(head=1, first_index=2, last_index=2) rows[1].append("") @@ -1132,20 +1103,10 @@ def test_get_records_pad_values(self): def test_get_records_pad_more_than_one_key(self): self.sheet.resize(2, 4) rows = [ - [ - "A1", - "B1", - ], + ["A1", "B1"], [1, 2, 3, 4], ] - cell_list = self.sheet.range("A1:B1") - for cell in cell_list: - cell.value = rows[0][cell.col - 1] - self.sheet.update_cells(cell_list) - cell_list = self.sheet.range("A2:D2") - for cell in cell_list: - cell.value = rows[1][cell.col - 1] - self.sheet.update_cells(cell_list) + self.sheet.update("A1:C2", rows) with pytest.raises(GSpreadException): self.sheet.get_records(head=1, first_index=2, last_index=2) From 2f9e18d497372b17863d90f617fbad07190189c2 Mon Sep 17 00:00:00 2001 From: alifeee Date: Wed, 29 Nov 2023 13:20:57 +0000 Subject: [PATCH 07/17] combine tests --- tests/worksheet_test.py | 24 +++--------------------- 1 file changed, 3 insertions(+), 21 deletions(-) diff --git a/tests/worksheet_test.py b/tests/worksheet_test.py index 706bd697c..f2f99d463 100644 --- a/tests/worksheet_test.py +++ b/tests/worksheet_test.py @@ -914,35 +914,17 @@ def test_get_all_records_duplicate_keys(self): self.sheet.resize(4, 4) # put in new values rows = [ - ["A1", "A1", "", "D1"], + ["A1", "faff", "C3", "faff"], [1, "b2", 1.45, ""], ["", "", "", ""], ["A4", 0.4, "", 4], ] - cell_list = self.sheet.range("A1:D4") - for cell, value in zip(cell_list, itertools.chain(*rows)): - cell.value = value - self.sheet.update_cells(cell_list) + self.sheet.update("A1:D4", rows) + # check no expected headers with pytest.raises(GSpreadException): self.sheet.get_all_records() - @pytest.mark.vcr() - def test_get_all_records_expected_headers(self): - self.sheet.resize(4, 4) - - # put in new values - rows = [ - ["A1", "faff", "C3", "faff"], - [1, "b2", 1.45, ""], - ["", "", "", ""], - ["A4", 0.4, "", 4], - ] - cell_list = self.sheet.range("A1:D4") - for cell, value in zip(cell_list, itertools.chain(*rows)): - cell.value = value - self.sheet.update_cells(cell_list) - # check non uniques expected headers expected_headers = ["A1", "A1"] with pytest.raises(GSpreadException): From 2fd4fc38dfe09e799c7acdce6fec2891240393d7 Mon Sep 17 00:00:00 2001 From: alifeee Date: Wed, 29 Nov 2023 13:21:15 +0000 Subject: [PATCH 08/17] rename test for blank headers --- tests/worksheet_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/worksheet_test.py b/tests/worksheet_test.py index f2f99d463..5e756416a 100644 --- a/tests/worksheet_test.py +++ b/tests/worksheet_test.py @@ -949,7 +949,7 @@ def test_get_all_records_duplicate_keys(self): self.assertDictEqual(expected_values_3, read_records[2]) @pytest.mark.vcr() - def test_get_all_records_expected_headers_with_blank(self): + def test_get_all_records_with_blank_final_headers(self): # regression test for #590, #629, #1354 self.sheet.resize(4, 4) From 7c68988bafba20dc84aad449f4ba5ad493e0d067 Mon Sep 17 00:00:00 2001 From: alifeee Date: Wed, 29 Nov 2023 13:21:57 +0000 Subject: [PATCH 09/17] add test_get_all_records_with_keys_blank --- tests/worksheet_test.py | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/tests/worksheet_test.py b/tests/worksheet_test.py index 5e756416a..106e42b1a 100644 --- a/tests/worksheet_test.py +++ b/tests/worksheet_test.py @@ -978,6 +978,35 @@ def test_get_all_records_with_blank_final_headers(self): self.assertDictEqual(expected_values_3, read_records[2]) @pytest.mark.vcr() + def test_get_all_records_with_keys_blank(self): + # regression test for #1355 + self.sheet.resize(4, 4) + + rows = [ + ["", "", "", ""], + ["c", "d", "e", "f"], + ["g", "h", "i", "j"], + ["k", "l", "m", ""], + ] + cell_list = self.sheet.range("A1:D4") + for cell, value in zip(cell_list, itertools.chain(*rows)): + cell.value = value + self.sheet.update_cells(cell_list) + + # duplicate headers + with pytest.raises(GSpreadException): + self.sheet.get_all_records() + + # ignore duplicate headers + read_records = self.sheet.get_all_records(expected_headers=[]) + + expected_values_1 = dict(zip(rows[0], rows[1])) + expected_values_2 = dict(zip(rows[0], rows[2])) + expected_values_3 = dict(zip(rows[0], rows[3])) + self.assertDictEqual(expected_values_1, read_records[0]) + self.assertDictEqual(expected_values_2, read_records[1]) + self.assertDictEqual(expected_values_3, read_records[2]) + @pytest.mark.vcr() def test_get_all_records_numericise_unformatted(self): self.sheet.resize(2, 4) # put in new values, made from three lists From c2e8496cae9f5a3d9b8739916ad8ea87c49330b7 Mon Sep 17 00:00:00 2001 From: alifeee Date: Wed, 29 Nov 2023 13:22:15 +0000 Subject: [PATCH 10/17] add test_get_records_with_all_values_blank --- tests/worksheet_test.py | 45 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/tests/worksheet_test.py b/tests/worksheet_test.py index 106e42b1a..9bcef37a3 100644 --- a/tests/worksheet_test.py +++ b/tests/worksheet_test.py @@ -1006,6 +1006,51 @@ def test_get_all_records_with_keys_blank(self): self.assertDictEqual(expected_values_1, read_records[0]) self.assertDictEqual(expected_values_2, read_records[1]) self.assertDictEqual(expected_values_3, read_records[2]) + + @pytest.mark.vcr() + def test_get_records_with_all_values_blank(self): + # regression test for #1355 + self.sheet.resize(4, 4) + + rows = [ + ["a", "b", "c", "d"], + ["", "", "", ""], + ["", "", "", ""], + ["", "", "", ""], + ] + self.sheet.update("A1:D4", rows) + + expected_values_1 = dict(zip(rows[0], rows[1])) + expected_values_2 = dict(zip(rows[0], rows[2])) + expected_values_3 = dict(zip(rows[0], rows[3])) + + # I ask for get_records(first_index=2, last_index=4) + # I want [{...}, {...}, {...}] + + read_records_first_last = self.sheet.get_records(first_index=2, last_index=4) + self.assertEqual(len(read_records_first_last), 3) + self.assertDictEqual(expected_values_1, read_records_first_last[0]) + self.assertDictEqual(expected_values_2, read_records_first_last[1]) + self.assertDictEqual(expected_values_3, read_records_first_last[2]) + + # I ask for get_records() + # I want [] + read_records_nofirst_nolast = self.sheet.get_records() + self.assertEqual(len(read_records_nofirst_nolast), 0) + + # I ask for get_records(first_index=1) + # I want [] + read_records_first_nolast = self.sheet.get_records(first_index=2) + self.assertEqual(len(read_records_first_nolast), 0) + + # I ask for get_records(last_index=4) + # I want [{...}, {...}, {...}] + read_records_nofirst_last = self.sheet.get_records(last_index=4) + self.assertEqual(len(read_records_nofirst_last), 3) + self.assertDictEqual(expected_values_1, read_records_nofirst_last[0]) + self.assertDictEqual(expected_values_2, read_records_nofirst_last[1]) + self.assertDictEqual(expected_values_3, read_records_nofirst_last[2]) + @pytest.mark.vcr() def test_get_all_records_numericise_unformatted(self): self.sheet.resize(2, 4) From be476b2bbc672d4483fac88c49f95a13d1011c23 Mon Sep 17 00:00:00 2001 From: alifeee Date: Wed, 29 Nov 2023 13:26:23 +0000 Subject: [PATCH 11/17] get keys after values and... only get [0] keys if possible --- gspread/worksheet.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gspread/worksheet.py b/gspread/worksheet.py index fe16de68f..ce5fd5597 100644 --- a/gspread/worksheet.py +++ b/gspread/worksheet.py @@ -683,16 +683,16 @@ def get_records( # noqa: C901 # this comment disables the complexity check for "last_index must be an integer less than or equal to the number of rows in the worksheet" ) - keys = self.get_values( - "{head}:{head}".format(head=head), value_render_option=value_render_option - )[0] - values = self.get_values( "{first_index}:{last_index}".format( first_index=first_index, last_index=last_index ), value_render_option=value_render_option, ) + keys_row = self.get_values( + "{head}:{head}".format(head=head), value_render_option=value_render_option + ) + keys = keys_row[0] if len(keys_row) > 0 else [] values_len = len(values[0]) keys_len = len(keys) From 6b7b9ae38752752f63e36a67dfd3d04db5546bff Mon Sep 17 00:00:00 2001 From: alifeee Date: Wed, 29 Nov 2023 13:26:39 +0000 Subject: [PATCH 12/17] return empty list if values is empty --- gspread/worksheet.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gspread/worksheet.py b/gspread/worksheet.py index ce5fd5597..0940ca377 100644 --- a/gspread/worksheet.py +++ b/gspread/worksheet.py @@ -689,6 +689,9 @@ def get_records( # noqa: C901 # this comment disables the complexity check for ), value_render_option=value_render_option, ) + if values == []: + return [] + keys_row = self.get_values( "{head}:{head}".format(head=head), value_render_option=value_render_option ) From bfc08da1a813d93c300d10fcb23090dac82525b4 Mon Sep 17 00:00:00 2001 From: alifeee Date: Thu, 30 Nov 2023 14:38:27 +0000 Subject: [PATCH 13/17] correct range on some `sheet.update`s in tests --- tests/worksheet_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/worksheet_test.py b/tests/worksheet_test.py index 9bcef37a3..f20bdc1dc 100644 --- a/tests/worksheet_test.py +++ b/tests/worksheet_test.py @@ -1132,7 +1132,7 @@ def test_get_records_pad_one_key(self): ["A1", "B1", "C1"], [1, 2, 3, 4], ] - self.sheet.update("A1:C2", rows) + self.sheet.update("A1:D2", rows) read_records = self.sheet.get_records(head=1, first_index=2, last_index=2) rows[0].append("") @@ -1162,7 +1162,7 @@ def test_get_records_pad_more_than_one_key(self): ["A1", "B1"], [1, 2, 3, 4], ] - self.sheet.update("A1:C2", rows) + self.sheet.update("A1:D2", rows) with pytest.raises(GSpreadException): self.sheet.get_records(head=1, first_index=2, last_index=2) From b62f5aacf525c46035b07ddc40fe56da5ae6acd7 Mon Sep 17 00:00:00 2001 From: alifeee Date: Thu, 30 Nov 2023 14:39:23 +0000 Subject: [PATCH 14/17] rename values_len -> values_width to be obvious and -> keys_width --- gspread/worksheet.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/gspread/worksheet.py b/gspread/worksheet.py index 0940ca377..740d5eaa4 100644 --- a/gspread/worksheet.py +++ b/gspread/worksheet.py @@ -697,14 +697,15 @@ def get_records( # noqa: C901 # this comment disables the complexity check for ) keys = keys_row[0] if len(keys_row) > 0 else [] - values_len = len(values[0]) - keys_len = len(keys) - values_wider_than_keys_by = values_len - keys_len + values_width = len(values[0]) + keys_width = len(keys) + values_wider_than_keys_by = values_width - keys_width + # pad keys and values to be the same WIDTH if values_wider_than_keys_by > 0: keys.extend([default_blank] * values_wider_than_keys_by) elif values_wider_than_keys_by < 0: - values = fill_gaps(values, cols=keys_len, padding_value=default_blank) + values = fill_gaps(values, cols=keys_width, padding_value=default_blank) if expected_headers is None: # all headers must be unique From 341d0d4b2baeb3ab6bdab6248abc27d8625b1700 Mon Sep 17 00:00:00 2001 From: alifeee Date: Thu, 30 Nov 2023 14:39:47 +0000 Subject: [PATCH 15/17] return empty list if last_index not set --- gspread/worksheet.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/gspread/worksheet.py b/gspread/worksheet.py index 740d5eaa4..ce4d2f96f 100644 --- a/gspread/worksheet.py +++ b/gspread/worksheet.py @@ -676,12 +676,15 @@ def get_records( # noqa: C901 # this comment disables the complexity check for if last_index is None: last_index = self.row_count + last_index_set = False elif last_index < first_index: raise ValueError("last_index must be greater than or equal to first_index") elif last_index > self.row_count: raise ValueError( "last_index must be an integer less than or equal to the number of rows in the worksheet" ) + else: + last_index_set = True values = self.get_values( "{first_index}:{last_index}".format( @@ -690,7 +693,13 @@ def get_records( # noqa: C901 # this comment disables the complexity check for value_render_option=value_render_option, ) if values == []: - return [] + # see test_get_records_with_all_values_blank + # if last index is not asked for, + # we don't know the length of the sheet so we return [] + if last_index_set is False: + return [] + # otherwise values will later be padded to be the size of keys + sheet size + values = [[]] keys_row = self.get_values( "{head}:{head}".format(head=head), value_render_option=value_render_option From 0f0cc1008a892680171dacd9eb4c01ebc992afaa Mon Sep 17 00:00:00 2001 From: alifeee Date: Thu, 30 Nov 2023 14:40:09 +0000 Subject: [PATCH 16/17] pad values to be the HEIGHT of last_index - first_index + 1 --- gspread/worksheet.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gspread/worksheet.py b/gspread/worksheet.py index ce4d2f96f..9442cfe9e 100644 --- a/gspread/worksheet.py +++ b/gspread/worksheet.py @@ -716,6 +716,9 @@ def get_records( # noqa: C901 # this comment disables the complexity check for elif values_wider_than_keys_by < 0: values = fill_gaps(values, cols=keys_width, padding_value=default_blank) + # pad values to be the HEIGHT of last_index - first_index + 1 + values = fill_gaps(values, rows=last_index - first_index + 1) + if expected_headers is None: # all headers must be unique header_row_is_unique = len(keys) == len(set(keys)) From 86df3d484c8d583f579c191af58773a180b75a9e Mon Sep 17 00:00:00 2001 From: alifeee Date: Thu, 30 Nov 2023 14:43:00 +0000 Subject: [PATCH 17/17] update test cassettes for get_records and get_all_records --- .../WorksheetTest.test_get_all_records.json | 569 +++++------ ...test_get_all_records_different_header.json | 565 +++++------ ...t.test_get_all_records_duplicate_keys.json | 723 ++++++++++---- ...et_all_records_numericise_unformatted.json | 326 +++---- ..._get_all_records_value_render_options.json | 462 ++++----- ..._all_records_with_blank_final_headers.json | 831 ++++++++++++++++ ...test_get_all_records_with_keys_blank.json} | 502 +++++----- .../WorksheetTest.test_get_records.json | 901 +++++++----------- ...est_get_records_pad_more_than_one_key.json | 637 ++++--------- ...heetTest.test_get_records_pad_one_key.json | 637 ++++--------- ...sheetTest.test_get_records_pad_values.json | 637 ++++--------- ...st_get_records_with_all_values_blank.json} | 611 ++++++------ ...est.test_get_records_wrong_rows_input.json | 272 +++--- 13 files changed, 3771 insertions(+), 3902 deletions(-) create mode 100644 tests/cassettes/WorksheetTest.test_get_all_records_with_blank_final_headers.json rename tests/cassettes/{WorksheetTest.test_get_all_records_expected_headers_with_blank.json => WorksheetTest.test_get_all_records_with_keys_blank.json} (72%) rename tests/cassettes/{WorksheetTest.test_get_all_records_expected_headers.json => WorksheetTest.test_get_records_with_all_values_blank.json} (69%) diff --git a/tests/cassettes/WorksheetTest.test_get_all_records.json b/tests/cassettes/WorksheetTest.test_get_all_records.json index 477e3a0b1..8c90e57aa 100644 --- a/tests/cassettes/WorksheetTest.test_get_all_records.json +++ b/tests/cassettes/WorksheetTest.test_get_all_records.json @@ -36,55 +36,55 @@ "message": "OK" }, "headers": { + "Server": [ + "ESF" + ], "X-Frame-Options": [ "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 30 Nov 2023 14:41:01 GMT" ], "Pragma": [ "no-cache" ], - "Date": [ - "Mon, 25 Sep 2023 12:20:53 GMT" - ], - "X-XSS-Protection": [ - "0" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Server": [ - "ESF" - ], "Vary": [ "Origin, X-Origin" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "193" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1gh5waLhlMbpF6AU-aWn0MZKPJMek-cE0LNWPLVfVT8A\",\n \"name\": \"Test WorksheetTest test_get_all_records\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1D5B1xvRYJicleGnvCrpnAlLemIpurNMK3FOe4Z432_A\",\n \"name\": \"Test WorksheetTest test_get_all_records\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1gh5waLhlMbpF6AU-aWn0MZKPJMek-cE0LNWPLVfVT8A?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1D5B1xvRYJicleGnvCrpnAlLemIpurNMK3FOe4Z432_A?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -110,54 +110,54 @@ "message": "OK" }, "headers": { + "Server": [ + "ESF" + ], "X-Frame-Options": [ "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Mon, 25 Sep 2023 12:20:53 GMT" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" + "Date": [ + "Thu, 30 Nov 2023 14:41:01 GMT" ], - "x-l2-request-path": [ - "l2-managed-6" + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Server": [ - "ESF" + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "3337" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1gh5waLhlMbpF6AU-aWn0MZKPJMek-cE0LNWPLVfVT8A\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1gh5waLhlMbpF6AU-aWn0MZKPJMek-cE0LNWPLVfVT8A/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1D5B1xvRYJicleGnvCrpnAlLemIpurNMK3FOe4Z432_A\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1D5B1xvRYJicleGnvCrpnAlLemIpurNMK3FOe4Z432_A/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1gh5waLhlMbpF6AU-aWn0MZKPJMek-cE0LNWPLVfVT8A?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1D5B1xvRYJicleGnvCrpnAlLemIpurNMK3FOe4Z432_A?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -183,54 +183,54 @@ "message": "OK" }, "headers": { + "Server": [ + "ESF" + ], "X-Frame-Options": [ "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Mon, 25 Sep 2023 12:20:54 GMT" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" + "Date": [ + "Thu, 30 Nov 2023 14:41:02 GMT" ], - "x-l2-request-path": [ - "l2-managed-6" + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Server": [ - "ESF" + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "3337" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1gh5waLhlMbpF6AU-aWn0MZKPJMek-cE0LNWPLVfVT8A\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1gh5waLhlMbpF6AU-aWn0MZKPJMek-cE0LNWPLVfVT8A/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1D5B1xvRYJicleGnvCrpnAlLemIpurNMK3FOe4Z432_A\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1D5B1xvRYJicleGnvCrpnAlLemIpurNMK3FOe4Z432_A/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1gh5waLhlMbpF6AU-aWn0MZKPJMek-cE0LNWPLVfVT8A/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1D5B1xvRYJicleGnvCrpnAlLemIpurNMK3FOe4Z432_A/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -259,54 +259,54 @@ "message": "OK" }, "headers": { + "Server": [ + "ESF" + ], "X-Frame-Options": [ "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Mon, 25 Sep 2023 12:20:54 GMT" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" + "Date": [ + "Thu, 30 Nov 2023 14:41:02 GMT" ], - "x-l2-request-path": [ - "l2-managed-6" + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Server": [ - "ESF" + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "107" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1gh5waLhlMbpF6AU-aWn0MZKPJMek-cE0LNWPLVfVT8A\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1D5B1xvRYJicleGnvCrpnAlLemIpurNMK3FOe4Z432_A\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1gh5waLhlMbpF6AU-aWn0MZKPJMek-cE0LNWPLVfVT8A:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1D5B1xvRYJicleGnvCrpnAlLemIpurNMK3FOe4Z432_A:batchUpdate", "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 4, \"columnCount\": 4}}, \"fields\": \"gridProperties/rowCount,gridProperties/columnCount\"}}]}", "headers": { "User-Agent": [ @@ -338,55 +338,55 @@ "message": "OK" }, "headers": { + "Server": [ + "ESF" + ], "X-Frame-Options": [ "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Mon, 25 Sep 2023 12:20:54 GMT" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" + "Date": [ + "Thu, 30 Nov 2023 14:41:02 GMT" ], - "x-l2-request-path": [ - "l2-managed-6" + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Server": [ - "ESF" + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "97" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1gh5waLhlMbpF6AU-aWn0MZKPJMek-cE0LNWPLVfVT8A\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1D5B1xvRYJicleGnvCrpnAlLemIpurNMK3FOe4Z432_A\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1gh5waLhlMbpF6AU-aWn0MZKPJMek-cE0LNWPLVfVT8A/values/%27Sheet1%27%21A1%3AD4", - "body": null, + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1D5B1xvRYJicleGnvCrpnAlLemIpurNMK3FOe4Z432_A/values/%27Sheet1%27%21A1%3AD4?valueInputOption=RAW", + "body": "{\"values\": [[\"A1\", \"B1\", \"\", \"D1\"], [1, \"b2\", 1.45, \"\"], [\"\", \"\", \"\", \"\"], [\"A4\", 0.4, \"\", 4]]}", "headers": { "User-Agent": [ "python-requests/2.31.0" @@ -400,6 +400,12 @@ "Connection": [ "keep-alive" ], + "Content-Length": [ + "95" + ], + "Content-Type": [ + "application/json" + ], "authorization": [ "" ] @@ -411,55 +417,55 @@ "message": "OK" }, "headers": { + "Server": [ + "ESF" + ], "X-Frame-Options": [ "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Mon, 25 Sep 2023 12:20:54 GMT" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" + "Date": [ + "Thu, 30 Nov 2023 14:41:03 GMT" ], - "x-l2-request-path": [ - "l2-managed-6" + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Server": [ - "ESF" + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ - "58" + "169" ] }, "body": { - "string": "{\n \"range\": \"Sheet1!A1:D4\",\n \"majorDimension\": \"ROWS\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1D5B1xvRYJicleGnvCrpnAlLemIpurNMK3FOe4Z432_A\",\n \"updatedRange\": \"Sheet1!A1:D4\",\n \"updatedRows\": 4,\n \"updatedColumns\": 4,\n \"updatedCells\": 16\n}\n" } } }, { "request": { - "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1gh5waLhlMbpF6AU-aWn0MZKPJMek-cE0LNWPLVfVT8A/values/%27Sheet1%27%21A1%3AD4?valueInputOption=RAW", - "body": "{\"values\": [[\"A1\", \"B1\", \"\", \"D1\"], [1, \"b2\", 1.45, \"\"], [\"\", \"\", \"\", \"\"], [\"A4\", 0.4, \"\", 4]]}", + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1D5B1xvRYJicleGnvCrpnAlLemIpurNMK3FOe4Z432_A/values/%27Sheet1%27%212%3A4", + "body": null, "headers": { "User-Agent": [ "python-requests/2.31.0" @@ -473,12 +479,6 @@ "Connection": [ "keep-alive" ], - "Content-Length": [ - "95" - ], - "Content-Type": [ - "application/json" - ], "authorization": [ "" ] @@ -490,54 +490,54 @@ "message": "OK" }, "headers": { + "Server": [ + "ESF" + ], "X-Frame-Options": [ "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Mon, 25 Sep 2023 12:20:55 GMT" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" + "Date": [ + "Thu, 30 Nov 2023 14:41:03 GMT" ], - "x-l2-request-path": [ - "l2-managed-6" + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Server": [ - "ESF" + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ - "169" + "191" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1gh5waLhlMbpF6AU-aWn0MZKPJMek-cE0LNWPLVfVT8A\",\n \"updatedRange\": \"Sheet1!A1:D4\",\n \"updatedRows\": 4,\n \"updatedColumns\": 4,\n \"updatedCells\": 16\n}\n" + "string": "{\n \"range\": \"Sheet1!A2:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"1\",\n \"b2\",\n \"1.45\"\n ],\n [],\n [\n \"A4\",\n \"0.4\",\n \"\",\n \"4\"\n ]\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1gh5waLhlMbpF6AU-aWn0MZKPJMek-cE0LNWPLVfVT8A/values/%27Sheet1%27%211%3A1", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1D5B1xvRYJicleGnvCrpnAlLemIpurNMK3FOe4Z432_A/values/%27Sheet1%27%211%3A1", "body": null, "headers": { "User-Agent": [ @@ -563,40 +563,40 @@ "message": "OK" }, "headers": { + "Server": [ + "ESF" + ], "X-Frame-Options": [ "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Mon, 25 Sep 2023 12:20:55 GMT" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" + "Date": [ + "Thu, 30 Nov 2023 14:41:03 GMT" ], - "x-l2-request-path": [ - "l2-managed-6" + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Server": [ - "ESF" + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "134" @@ -610,7 +610,7 @@ { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1gh5waLhlMbpF6AU-aWn0MZKPJMek-cE0LNWPLVfVT8A/values/%27Sheet1%27%212%3A4", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1D5B1xvRYJicleGnvCrpnAlLemIpurNMK3FOe4Z432_A/values/%27Sheet1%27%212%3A4", "body": null, "headers": { "User-Agent": [ @@ -636,40 +636,40 @@ "message": "OK" }, "headers": { + "Server": [ + "ESF" + ], "X-Frame-Options": [ "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Mon, 25 Sep 2023 12:20:55 GMT" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" + "Date": [ + "Thu, 30 Nov 2023 14:41:03 GMT" ], - "x-l2-request-path": [ - "l2-managed-6" + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Server": [ - "ESF" + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "191" @@ -683,7 +683,7 @@ { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1gh5waLhlMbpF6AU-aWn0MZKPJMek-cE0LNWPLVfVT8A/values/%27Sheet1%27%211%3A1", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1D5B1xvRYJicleGnvCrpnAlLemIpurNMK3FOe4Z432_A/values/%27Sheet1%27%211%3A1", "body": null, "headers": { "User-Agent": [ @@ -709,40 +709,40 @@ "message": "OK" }, "headers": { + "Server": [ + "ESF" + ], "X-Frame-Options": [ "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Mon, 25 Sep 2023 12:20:55 GMT" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" + "Date": [ + "Thu, 30 Nov 2023 14:41:04 GMT" ], - "x-l2-request-path": [ - "l2-managed-6" + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Server": [ - "ESF" + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "134" @@ -756,7 +756,7 @@ { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1gh5waLhlMbpF6AU-aWn0MZKPJMek-cE0LNWPLVfVT8A/values/%27Sheet1%27%212%3A4", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1D5B1xvRYJicleGnvCrpnAlLemIpurNMK3FOe4Z432_A/values/%27Sheet1%27%212%3A4", "body": null, "headers": { "User-Agent": [ @@ -782,40 +782,40 @@ "message": "OK" }, "headers": { + "Server": [ + "ESF" + ], "X-Frame-Options": [ "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Mon, 25 Sep 2023 12:20:55 GMT" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" + "Date": [ + "Thu, 30 Nov 2023 14:41:04 GMT" ], - "x-l2-request-path": [ - "l2-managed-6" + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Server": [ - "ESF" + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "191" @@ -829,7 +829,7 @@ { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1gh5waLhlMbpF6AU-aWn0MZKPJMek-cE0LNWPLVfVT8A/values/%27Sheet1%27%211%3A1", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1D5B1xvRYJicleGnvCrpnAlLemIpurNMK3FOe4Z432_A/values/%27Sheet1%27%211%3A1", "body": null, "headers": { "User-Agent": [ @@ -855,40 +855,40 @@ "message": "OK" }, "headers": { + "Server": [ + "ESF" + ], "X-Frame-Options": [ "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Mon, 25 Sep 2023 12:20:56 GMT" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" + "Date": [ + "Thu, 30 Nov 2023 14:41:04 GMT" ], - "x-l2-request-path": [ - "l2-managed-6" + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Server": [ - "ESF" + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "134" @@ -902,7 +902,7 @@ { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1gh5waLhlMbpF6AU-aWn0MZKPJMek-cE0LNWPLVfVT8A/values/%27Sheet1%27%212%3A4", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1D5B1xvRYJicleGnvCrpnAlLemIpurNMK3FOe4Z432_A/values/%27Sheet1%27%212%3A4", "body": null, "headers": { "User-Agent": [ @@ -928,40 +928,40 @@ "message": "OK" }, "headers": { + "Server": [ + "ESF" + ], "X-Frame-Options": [ "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Mon, 25 Sep 2023 12:20:56 GMT" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" + "Date": [ + "Thu, 30 Nov 2023 14:41:05 GMT" ], - "x-l2-request-path": [ - "l2-managed-6" + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Server": [ - "ESF" + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "191" @@ -975,7 +975,7 @@ { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1gh5waLhlMbpF6AU-aWn0MZKPJMek-cE0LNWPLVfVT8A/values/%27Sheet1%27%211%3A1", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1D5B1xvRYJicleGnvCrpnAlLemIpurNMK3FOe4Z432_A/values/%27Sheet1%27%211%3A1", "body": null, "headers": { "User-Agent": [ @@ -1001,127 +1001,54 @@ "message": "OK" }, "headers": { - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Mon, 25 Sep 2023 12:20:56 GMT" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "x-l2-request-path": [ - "l2-managed-6" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], "Server": [ "ESF" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "134" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:D1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"B1\",\n \"\",\n \"D1\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1gh5waLhlMbpF6AU-aWn0MZKPJMek-cE0LNWPLVfVT8A/values/%27Sheet1%27%212%3A4", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { "X-Frame-Options": [ "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Mon, 25 Sep 2023 12:20:56 GMT" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" + "Date": [ + "Thu, 30 Nov 2023 14:41:06 GMT" ], - "x-l2-request-path": [ - "l2-managed-6" + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Server": [ - "ESF" + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ - "191" + "134" ] }, "body": { - "string": "{\n \"range\": \"Sheet1!A2:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"1\",\n \"b2\",\n \"1.45\"\n ],\n [],\n [\n \"A4\",\n \"0.4\",\n \"\",\n \"4\"\n ]\n ]\n}\n" + "string": "{\n \"range\": \"Sheet1!A1:D1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"B1\",\n \"\",\n \"D1\"\n ]\n ]\n}\n" } } }, { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1gh5waLhlMbpF6AU-aWn0MZKPJMek-cE0LNWPLVfVT8A?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1D5B1xvRYJicleGnvCrpnAlLemIpurNMK3FOe4Z432_A?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -1150,41 +1077,41 @@ "message": "No Content" }, "headers": { + "Server": [ + "ESF" + ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Pragma": [ - "no-cache" + "X-XSS-Protection": [ + "0" ], "Date": [ - "Mon, 25 Sep 2023 12:20:57 GMT" + "Thu, 30 Nov 2023 14:41:06 GMT" ], - "X-XSS-Protection": [ - "0" + "Pragma": [ + "no-cache" ], - "Content-Length": [ - "0" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "Content-Type": [ "text/html" ], - "Server": [ - "ESF" + "Content-Length": [ + "0" ], "Vary": [ "Origin, X-Origin" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_get_all_records_different_header.json b/tests/cassettes/WorksheetTest.test_get_all_records_different_header.json index 3f3318841..9dbf58d21 100644 --- a/tests/cassettes/WorksheetTest.test_get_all_records_different_header.json +++ b/tests/cassettes/WorksheetTest.test_get_all_records_different_header.json @@ -36,55 +36,55 @@ "message": "OK" }, "headers": { + "Server": [ + "ESF" + ], "X-Frame-Options": [ "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 30 Nov 2023 14:41:08 GMT" ], "Pragma": [ "no-cache" ], - "Date": [ - "Mon, 25 Sep 2023 12:20:59 GMT" - ], - "X-XSS-Protection": [ - "0" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Server": [ - "ESF" - ], "Vary": [ "Origin, X-Origin" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "210" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"13OiN8IIRA-9pqzhnWDwwAI6-XLJjpyb8JcCMBrr6EXo\",\n \"name\": \"Test WorksheetTest test_get_all_records_different_header\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1-T-VKTCJl2l_zUdG6VP_Bk2OUUyMEXtbbAm2X0YiZMk\",\n \"name\": \"Test WorksheetTest test_get_all_records_different_header\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/13OiN8IIRA-9pqzhnWDwwAI6-XLJjpyb8JcCMBrr6EXo?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1-T-VKTCJl2l_zUdG6VP_Bk2OUUyMEXtbbAm2X0YiZMk?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -110,54 +110,54 @@ "message": "OK" }, "headers": { + "Server": [ + "ESF" + ], "X-Frame-Options": [ "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Mon, 25 Sep 2023 12:20:59 GMT" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" + "Date": [ + "Thu, 30 Nov 2023 14:41:09 GMT" ], - "x-l2-request-path": [ - "l2-managed-6" + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Server": [ - "ESF" + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "3354" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"13OiN8IIRA-9pqzhnWDwwAI6-XLJjpyb8JcCMBrr6EXo\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_different_header\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/13OiN8IIRA-9pqzhnWDwwAI6-XLJjpyb8JcCMBrr6EXo/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1-T-VKTCJl2l_zUdG6VP_Bk2OUUyMEXtbbAm2X0YiZMk\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_different_header\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1-T-VKTCJl2l_zUdG6VP_Bk2OUUyMEXtbbAm2X0YiZMk/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/13OiN8IIRA-9pqzhnWDwwAI6-XLJjpyb8JcCMBrr6EXo?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1-T-VKTCJl2l_zUdG6VP_Bk2OUUyMEXtbbAm2X0YiZMk?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -183,54 +183,54 @@ "message": "OK" }, "headers": { + "Server": [ + "ESF" + ], "X-Frame-Options": [ "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Mon, 25 Sep 2023 12:21:00 GMT" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" + "Date": [ + "Thu, 30 Nov 2023 14:41:09 GMT" ], - "x-l2-request-path": [ - "l2-managed-6" + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Server": [ - "ESF" + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "3354" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"13OiN8IIRA-9pqzhnWDwwAI6-XLJjpyb8JcCMBrr6EXo\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_different_header\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/13OiN8IIRA-9pqzhnWDwwAI6-XLJjpyb8JcCMBrr6EXo/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1-T-VKTCJl2l_zUdG6VP_Bk2OUUyMEXtbbAm2X0YiZMk\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_different_header\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1-T-VKTCJl2l_zUdG6VP_Bk2OUUyMEXtbbAm2X0YiZMk/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/13OiN8IIRA-9pqzhnWDwwAI6-XLJjpyb8JcCMBrr6EXo/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1-T-VKTCJl2l_zUdG6VP_Bk2OUUyMEXtbbAm2X0YiZMk/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -259,54 +259,54 @@ "message": "OK" }, "headers": { + "Server": [ + "ESF" + ], "X-Frame-Options": [ "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Mon, 25 Sep 2023 12:21:00 GMT" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" + "Date": [ + "Thu, 30 Nov 2023 14:41:10 GMT" ], - "x-l2-request-path": [ - "l2-managed-6" + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Server": [ - "ESF" + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "107" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"13OiN8IIRA-9pqzhnWDwwAI6-XLJjpyb8JcCMBrr6EXo\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1-T-VKTCJl2l_zUdG6VP_Bk2OUUyMEXtbbAm2X0YiZMk\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/13OiN8IIRA-9pqzhnWDwwAI6-XLJjpyb8JcCMBrr6EXo:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1-T-VKTCJl2l_zUdG6VP_Bk2OUUyMEXtbbAm2X0YiZMk:batchUpdate", "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 6, \"columnCount\": 4}}, \"fields\": \"gridProperties/rowCount,gridProperties/columnCount\"}}]}", "headers": { "User-Agent": [ @@ -338,55 +338,55 @@ "message": "OK" }, "headers": { + "Server": [ + "ESF" + ], "X-Frame-Options": [ "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Mon, 25 Sep 2023 12:21:00 GMT" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" + "Date": [ + "Thu, 30 Nov 2023 14:41:10 GMT" ], - "x-l2-request-path": [ - "l2-managed-6" + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Server": [ - "ESF" + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "97" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"13OiN8IIRA-9pqzhnWDwwAI6-XLJjpyb8JcCMBrr6EXo\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1-T-VKTCJl2l_zUdG6VP_Bk2OUUyMEXtbbAm2X0YiZMk\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/13OiN8IIRA-9pqzhnWDwwAI6-XLJjpyb8JcCMBrr6EXo/values/%27Sheet1%27%21A1%3AD6", - "body": null, + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1-T-VKTCJl2l_zUdG6VP_Bk2OUUyMEXtbbAm2X0YiZMk/values/%27Sheet1%27%21A1%3AD6?valueInputOption=RAW", + "body": "{\"values\": [[\"\", \"\", \"\", \"\"], [\"\", \"\", \"\", \"\"], [\"A1\", \"B1\", \"\", \"D1\"], [1, \"b2\", 1.45, \"\"], [\"\", \"\", \"\", \"\"], [\"A4\", 0.4, \"\", 4]]}", "headers": { "User-Agent": [ "python-requests/2.31.0" @@ -400,6 +400,12 @@ "Connection": [ "keep-alive" ], + "Content-Length": [ + "131" + ], + "Content-Type": [ + "application/json" + ], "authorization": [ "" ] @@ -411,55 +417,55 @@ "message": "OK" }, "headers": { + "Server": [ + "ESF" + ], "X-Frame-Options": [ "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Mon, 25 Sep 2023 12:21:01 GMT" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" + "Date": [ + "Thu, 30 Nov 2023 14:41:11 GMT" ], - "x-l2-request-path": [ - "l2-managed-6" + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Server": [ - "ESF" + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ - "58" + "169" ] }, "body": { - "string": "{\n \"range\": \"Sheet1!A1:D6\",\n \"majorDimension\": \"ROWS\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1-T-VKTCJl2l_zUdG6VP_Bk2OUUyMEXtbbAm2X0YiZMk\",\n \"updatedRange\": \"Sheet1!A1:D6\",\n \"updatedRows\": 6,\n \"updatedColumns\": 4,\n \"updatedCells\": 24\n}\n" } } }, { "request": { - "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/13OiN8IIRA-9pqzhnWDwwAI6-XLJjpyb8JcCMBrr6EXo/values/%27Sheet1%27%21A1%3AD6?valueInputOption=RAW", - "body": "{\"values\": [[\"\", \"\", \"\", \"\"], [\"\", \"\", \"\", \"\"], [\"A1\", \"B1\", \"\", \"D1\"], [1, \"b2\", 1.45, \"\"], [\"\", \"\", \"\", \"\"], [\"A4\", 0.4, \"\", 4]]}", + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1-T-VKTCJl2l_zUdG6VP_Bk2OUUyMEXtbbAm2X0YiZMk/values/%27Sheet1%27%214%3A6", + "body": null, "headers": { "User-Agent": [ "python-requests/2.31.0" @@ -473,12 +479,6 @@ "Connection": [ "keep-alive" ], - "Content-Length": [ - "131" - ], - "Content-Type": [ - "application/json" - ], "authorization": [ "" ] @@ -490,54 +490,54 @@ "message": "OK" }, "headers": { + "Server": [ + "ESF" + ], "X-Frame-Options": [ "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Mon, 25 Sep 2023 12:21:01 GMT" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" + "Date": [ + "Thu, 30 Nov 2023 14:41:11 GMT" ], - "x-l2-request-path": [ - "l2-managed-6" + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Server": [ - "ESF" + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ - "169" + "191" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"13OiN8IIRA-9pqzhnWDwwAI6-XLJjpyb8JcCMBrr6EXo\",\n \"updatedRange\": \"Sheet1!A1:D6\",\n \"updatedRows\": 6,\n \"updatedColumns\": 4,\n \"updatedCells\": 24\n}\n" + "string": "{\n \"range\": \"Sheet1!A4:D6\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"1\",\n \"b2\",\n \"1.45\"\n ],\n [],\n [\n \"A4\",\n \"0.4\",\n \"\",\n \"4\"\n ]\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/13OiN8IIRA-9pqzhnWDwwAI6-XLJjpyb8JcCMBrr6EXo/values/%27Sheet1%27%213%3A3", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1-T-VKTCJl2l_zUdG6VP_Bk2OUUyMEXtbbAm2X0YiZMk/values/%27Sheet1%27%213%3A3", "body": null, "headers": { "User-Agent": [ @@ -563,40 +563,40 @@ "message": "OK" }, "headers": { + "Server": [ + "ESF" + ], "X-Frame-Options": [ "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Mon, 25 Sep 2023 12:21:01 GMT" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" + "Date": [ + "Thu, 30 Nov 2023 14:41:12 GMT" ], - "x-l2-request-path": [ - "l2-managed-6" + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Server": [ - "ESF" + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "134" @@ -610,7 +610,7 @@ { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/13OiN8IIRA-9pqzhnWDwwAI6-XLJjpyb8JcCMBrr6EXo/values/%27Sheet1%27%214%3A6", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1-T-VKTCJl2l_zUdG6VP_Bk2OUUyMEXtbbAm2X0YiZMk/values/%27Sheet1%27%214%3A6", "body": null, "headers": { "User-Agent": [ @@ -636,40 +636,40 @@ "message": "OK" }, "headers": { + "Server": [ + "ESF" + ], "X-Frame-Options": [ "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Mon, 25 Sep 2023 12:21:01 GMT" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" + "Date": [ + "Thu, 30 Nov 2023 14:41:12 GMT" ], - "x-l2-request-path": [ - "l2-managed-6" + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Server": [ - "ESF" + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "191" @@ -683,7 +683,7 @@ { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/13OiN8IIRA-9pqzhnWDwwAI6-XLJjpyb8JcCMBrr6EXo/values/%27Sheet1%27%213%3A3", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1-T-VKTCJl2l_zUdG6VP_Bk2OUUyMEXtbbAm2X0YiZMk/values/%27Sheet1%27%213%3A3", "body": null, "headers": { "User-Agent": [ @@ -709,40 +709,40 @@ "message": "OK" }, "headers": { + "Server": [ + "ESF" + ], "X-Frame-Options": [ "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Mon, 25 Sep 2023 12:21:01 GMT" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" + "Date": [ + "Thu, 30 Nov 2023 14:41:12 GMT" ], - "x-l2-request-path": [ - "l2-managed-6" + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Server": [ - "ESF" + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "134" @@ -756,7 +756,7 @@ { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/13OiN8IIRA-9pqzhnWDwwAI6-XLJjpyb8JcCMBrr6EXo/values/%27Sheet1%27%214%3A6", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1-T-VKTCJl2l_zUdG6VP_Bk2OUUyMEXtbbAm2X0YiZMk/values/%27Sheet1%27%214%3A6", "body": null, "headers": { "User-Agent": [ @@ -782,40 +782,40 @@ "message": "OK" }, "headers": { + "Server": [ + "ESF" + ], "X-Frame-Options": [ "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Mon, 25 Sep 2023 12:21:02 GMT" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" + "Date": [ + "Thu, 30 Nov 2023 14:41:13 GMT" ], - "x-l2-request-path": [ - "l2-managed-6" + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Server": [ - "ESF" + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "191" @@ -829,7 +829,7 @@ { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/13OiN8IIRA-9pqzhnWDwwAI6-XLJjpyb8JcCMBrr6EXo/values/%27Sheet1%27%213%3A3", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1-T-VKTCJl2l_zUdG6VP_Bk2OUUyMEXtbbAm2X0YiZMk/values/%27Sheet1%27%213%3A3", "body": null, "headers": { "User-Agent": [ @@ -855,40 +855,40 @@ "message": "OK" }, "headers": { + "Server": [ + "ESF" + ], "X-Frame-Options": [ "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Mon, 25 Sep 2023 12:21:02 GMT" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" + "Date": [ + "Thu, 30 Nov 2023 14:41:14 GMT" ], - "x-l2-request-path": [ - "l2-managed-6" + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Server": [ - "ESF" + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "134" @@ -902,7 +902,7 @@ { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/13OiN8IIRA-9pqzhnWDwwAI6-XLJjpyb8JcCMBrr6EXo/values/%27Sheet1%27%214%3A6", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1-T-VKTCJl2l_zUdG6VP_Bk2OUUyMEXtbbAm2X0YiZMk/values/%27Sheet1%27%214%3A6", "body": null, "headers": { "User-Agent": [ @@ -928,40 +928,40 @@ "message": "OK" }, "headers": { + "Server": [ + "ESF" + ], "X-Frame-Options": [ "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Mon, 25 Sep 2023 12:21:02 GMT" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" + "Date": [ + "Thu, 30 Nov 2023 14:41:14 GMT" ], - "x-l2-request-path": [ - "l2-managed-6" + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Server": [ - "ESF" + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "191" @@ -975,7 +975,7 @@ { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/13OiN8IIRA-9pqzhnWDwwAI6-XLJjpyb8JcCMBrr6EXo/values/%27Sheet1%27%213%3A3", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1-T-VKTCJl2l_zUdG6VP_Bk2OUUyMEXtbbAm2X0YiZMk/values/%27Sheet1%27%213%3A3", "body": null, "headers": { "User-Agent": [ @@ -1001,127 +1001,54 @@ "message": "OK" }, "headers": { - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Mon, 25 Sep 2023 12:21:02 GMT" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "x-l2-request-path": [ - "l2-managed-6" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], "Server": [ "ESF" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Cache-Control": [ - "private" - ], - "content-length": [ - "134" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A3:D3\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"B1\",\n \"\",\n \"D1\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/13OiN8IIRA-9pqzhnWDwwAI6-XLJjpyb8JcCMBrr6EXo/values/%27Sheet1%27%214%3A6", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { "X-Frame-Options": [ "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Mon, 25 Sep 2023 12:21:02 GMT" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" + "Date": [ + "Thu, 30 Nov 2023 14:41:14 GMT" ], - "x-l2-request-path": [ - "l2-managed-6" + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Server": [ - "ESF" + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ - "191" + "134" ] }, "body": { - "string": "{\n \"range\": \"Sheet1!A4:D6\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"1\",\n \"b2\",\n \"1.45\"\n ],\n [],\n [\n \"A4\",\n \"0.4\",\n \"\",\n \"4\"\n ]\n ]\n}\n" + "string": "{\n \"range\": \"Sheet1!A3:D3\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"B1\",\n \"\",\n \"D1\"\n ]\n ]\n}\n" } } }, { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/13OiN8IIRA-9pqzhnWDwwAI6-XLJjpyb8JcCMBrr6EXo?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1-T-VKTCJl2l_zUdG6VP_Bk2OUUyMEXtbbAm2X0YiZMk?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -1150,41 +1077,41 @@ "message": "No Content" }, "headers": { + "Server": [ + "ESF" + ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "X-XSS-Protection": [ + "0" ], "Date": [ - "Mon, 25 Sep 2023 12:21:03 GMT" + "Thu, 30 Nov 2023 14:41:15 GMT" ], "Pragma": [ "no-cache" ], - "X-XSS-Protection": [ - "0" - ], - "Content-Length": [ - "0" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "Content-Type": [ "text/html" ], - "Server": [ - "ESF" + "Content-Length": [ + "0" ], "Vary": [ "Origin, X-Origin" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_get_all_records_duplicate_keys.json b/tests/cassettes/WorksheetTest.test_get_all_records_duplicate_keys.json index 643fdd709..d4db40d84 100644 --- a/tests/cassettes/WorksheetTest.test_get_all_records_duplicate_keys.json +++ b/tests/cassettes/WorksheetTest.test_get_all_records_duplicate_keys.json @@ -36,23 +36,26 @@ "message": "OK" }, "headers": { - "Transfer-Encoding": [ - "chunked" + "Server": [ + "ESF" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Frame-Options": [ + "SAMEORIGIN" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Transfer-Encoding": [ + "chunked" ], "X-XSS-Protection": [ "0" ], - "Vary": [ - "Origin, X-Origin" + "Date": [ + "Thu, 30 Nov 2023 14:41:18 GMT" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Pragma": [ + "no-cache" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" @@ -60,31 +63,28 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Pragma": [ - "no-cache" - ], - "Server": [ - "ESF" - ], - "Date": [ - "Wed, 29 Nov 2023 12:36:53 GMT" + "Vary": [ + "Origin, X-Origin" ], "X-Content-Type-Options": [ "nosniff" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "content-length": [ "208" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1LpWaxSELQM6AwD6zYLgu2QKHH4guQq22bxh6MzQpfJw\",\n \"name\": \"Test WorksheetTest test_get_all_records_duplicate_keys\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1Bd01_j5JDZjjjcG4su-pI12_qurrHI58BlX7abSAawE\",\n \"name\": \"Test WorksheetTest test_get_all_records_duplicate_keys\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1LpWaxSELQM6AwD6zYLgu2QKHH4guQq22bxh6MzQpfJw?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Bd01_j5JDZjjjcG4su-pI12_qurrHI58BlX7abSAawE?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -110,25 +110,20 @@ "message": "OK" }, "headers": { + "Server": [ + "ESF" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Transfer-Encoding": [ "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], "X-XSS-Protection": [ "0" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "x-l2-request-path": [ - "l2-managed-6" - ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Date": [ + "Thu, 30 Nov 2023 14:41:18 GMT" ], "Cache-Control": [ "private" @@ -136,28 +131,33 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Server": [ - "ESF" + "x-l2-request-path": [ + "l2-managed-6" ], - "Date": [ - "Wed, 29 Nov 2023 12:36:54 GMT" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "X-Content-Type-Options": [ "nosniff" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "content-length": [ "3352" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1LpWaxSELQM6AwD6zYLgu2QKHH4guQq22bxh6MzQpfJw\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_duplicate_keys\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1LpWaxSELQM6AwD6zYLgu2QKHH4guQq22bxh6MzQpfJw/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1Bd01_j5JDZjjjcG4su-pI12_qurrHI58BlX7abSAawE\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_duplicate_keys\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1Bd01_j5JDZjjjcG4su-pI12_qurrHI58BlX7abSAawE/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1LpWaxSELQM6AwD6zYLgu2QKHH4guQq22bxh6MzQpfJw?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Bd01_j5JDZjjjcG4su-pI12_qurrHI58BlX7abSAawE?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -183,25 +183,20 @@ "message": "OK" }, "headers": { + "Server": [ + "ESF" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Transfer-Encoding": [ "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], "X-XSS-Protection": [ "0" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "x-l2-request-path": [ - "l2-managed-6" - ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Date": [ + "Thu, 30 Nov 2023 14:41:19 GMT" ], "Cache-Control": [ "private" @@ -209,28 +204,33 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Server": [ - "ESF" + "x-l2-request-path": [ + "l2-managed-6" ], - "Date": [ - "Wed, 29 Nov 2023 12:36:54 GMT" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "X-Content-Type-Options": [ "nosniff" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "content-length": [ "3352" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1LpWaxSELQM6AwD6zYLgu2QKHH4guQq22bxh6MzQpfJw\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_duplicate_keys\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1LpWaxSELQM6AwD6zYLgu2QKHH4guQq22bxh6MzQpfJw/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1Bd01_j5JDZjjjcG4su-pI12_qurrHI58BlX7abSAawE\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_duplicate_keys\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1Bd01_j5JDZjjjcG4su-pI12_qurrHI58BlX7abSAawE/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1LpWaxSELQM6AwD6zYLgu2QKHH4guQq22bxh6MzQpfJw/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Bd01_j5JDZjjjcG4su-pI12_qurrHI58BlX7abSAawE/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -259,25 +259,20 @@ "message": "OK" }, "headers": { + "Server": [ + "ESF" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Transfer-Encoding": [ "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], "X-XSS-Protection": [ "0" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "x-l2-request-path": [ - "l2-managed-6" - ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Date": [ + "Thu, 30 Nov 2023 14:41:20 GMT" ], "Cache-Control": [ "private" @@ -285,28 +280,33 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Server": [ - "ESF" + "x-l2-request-path": [ + "l2-managed-6" ], - "Date": [ - "Wed, 29 Nov 2023 12:36:55 GMT" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "X-Content-Type-Options": [ "nosniff" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "content-length": [ "107" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1LpWaxSELQM6AwD6zYLgu2QKHH4guQq22bxh6MzQpfJw\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1Bd01_j5JDZjjjcG4su-pI12_qurrHI58BlX7abSAawE\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1LpWaxSELQM6AwD6zYLgu2QKHH4guQq22bxh6MzQpfJw:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Bd01_j5JDZjjjcG4su-pI12_qurrHI58BlX7abSAawE:batchUpdate", "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 4, \"columnCount\": 4}}, \"fields\": \"gridProperties/rowCount,gridProperties/columnCount\"}}]}", "headers": { "User-Agent": [ @@ -338,25 +338,20 @@ "message": "OK" }, "headers": { + "Server": [ + "ESF" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Transfer-Encoding": [ "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], "X-XSS-Protection": [ "0" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "x-l2-request-path": [ - "l2-managed-6" - ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Date": [ + "Thu, 30 Nov 2023 14:41:20 GMT" ], "Cache-Control": [ "private" @@ -364,29 +359,34 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Server": [ - "ESF" + "x-l2-request-path": [ + "l2-managed-6" ], - "Date": [ - "Wed, 29 Nov 2023 12:36:55 GMT" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "X-Content-Type-Options": [ "nosniff" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "content-length": [ "97" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1LpWaxSELQM6AwD6zYLgu2QKHH4guQq22bxh6MzQpfJw\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1Bd01_j5JDZjjjcG4su-pI12_qurrHI58BlX7abSAawE\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1LpWaxSELQM6AwD6zYLgu2QKHH4guQq22bxh6MzQpfJw/values/%27Sheet1%27%21A1%3AD4", - "body": null, + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Bd01_j5JDZjjjcG4su-pI12_qurrHI58BlX7abSAawE/values/%27Sheet1%27%21A1%3AD4?valueInputOption=RAW", + "body": "{\"values\": [[\"A1\", \"faff\", \"C3\", \"faff\"], [1, \"b2\", 1.45, \"\"], [\"\", \"\", \"\", \"\"], [\"A4\", 0.4, \"\", 4]]}", "headers": { "User-Agent": [ "python-requests/2.31.0" @@ -400,6 +400,12 @@ "Connection": [ "keep-alive" ], + "Content-Length": [ + "101" + ], + "Content-Type": [ + "application/json" + ], "authorization": [ "" ] @@ -411,25 +417,20 @@ "message": "OK" }, "headers": { + "Server": [ + "ESF" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Transfer-Encoding": [ "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], "X-XSS-Protection": [ "0" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "x-l2-request-path": [ - "l2-managed-6" - ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Date": [ + "Thu, 30 Nov 2023 14:41:21 GMT" ], "Cache-Control": [ "private" @@ -437,29 +438,34 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Server": [ - "ESF" + "x-l2-request-path": [ + "l2-managed-6" ], - "Date": [ - "Wed, 29 Nov 2023 12:36:56 GMT" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "X-Content-Type-Options": [ "nosniff" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "content-length": [ - "58" + "169" ] }, "body": { - "string": "{\n \"range\": \"Sheet1!A1:D4\",\n \"majorDimension\": \"ROWS\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1Bd01_j5JDZjjjcG4su-pI12_qurrHI58BlX7abSAawE\",\n \"updatedRange\": \"Sheet1!A1:D4\",\n \"updatedRows\": 4,\n \"updatedColumns\": 4,\n \"updatedCells\": 16\n}\n" } } }, { "request": { - "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1LpWaxSELQM6AwD6zYLgu2QKHH4guQq22bxh6MzQpfJw/values/%27Sheet1%27%21A1%3AD4?valueInputOption=RAW", - "body": "{\"values\": [[\"A1\", \"A1\", \"\", \"D1\"], [1, \"b2\", 1.45, \"\"], [\"\", \"\", \"\", \"\"], [\"A4\", 0.4, \"\", 4]]}", + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Bd01_j5JDZjjjcG4su-pI12_qurrHI58BlX7abSAawE/values/%27Sheet1%27%212%3A4", + "body": null, "headers": { "User-Agent": [ "python-requests/2.31.0" @@ -473,12 +479,6 @@ "Connection": [ "keep-alive" ], - "Content-Length": [ - "95" - ], - "Content-Type": [ - "application/json" - ], "authorization": [ "" ] @@ -490,25 +490,20 @@ "message": "OK" }, "headers": { + "Server": [ + "ESF" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Transfer-Encoding": [ "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], "X-XSS-Protection": [ "0" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "x-l2-request-path": [ - "l2-managed-6" - ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Date": [ + "Thu, 30 Nov 2023 14:41:22 GMT" ], "Cache-Control": [ "private" @@ -516,28 +511,33 @@ "Content-Type": [ "application/json; charset=UTF-8" ], - "Server": [ - "ESF" + "x-l2-request-path": [ + "l2-managed-6" ], - "Date": [ - "Wed, 29 Nov 2023 12:36:56 GMT" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "X-Content-Type-Options": [ "nosniff" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "content-length": [ - "169" + "191" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1LpWaxSELQM6AwD6zYLgu2QKHH4guQq22bxh6MzQpfJw\",\n \"updatedRange\": \"Sheet1!A1:D4\",\n \"updatedRows\": 4,\n \"updatedColumns\": 4,\n \"updatedCells\": 16\n}\n" + "string": "{\n \"range\": \"Sheet1!A2:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"1\",\n \"b2\",\n \"1.45\"\n ],\n [],\n [\n \"A4\",\n \"0.4\",\n \"\",\n \"4\"\n ]\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1LpWaxSELQM6AwD6zYLgu2QKHH4guQq22bxh6MzQpfJw/values/%27Sheet1%27%211%3A1", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Bd01_j5JDZjjjcG4su-pI12_qurrHI58BlX7abSAawE/values/%27Sheet1%27%211%3A1", "body": null, "headers": { "User-Agent": [ @@ -563,54 +563,200 @@ "message": "OK" }, "headers": { + "Server": [ + "ESF" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Transfer-Encoding": [ "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], "X-XSS-Protection": [ "0" ], - "Vary": [ + "Date": [ + "Thu, 30 Nov 2023 14:41:22 GMT" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "x-l2-request-path": [ + "l2-managed-6" + ], + "Vary": [ "Origin", "X-Origin", "Referer" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "140" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:D1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"faff\",\n \"C3\",\n \"faff\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Bd01_j5JDZjjjcG4su-pI12_qurrHI58BlX7abSAawE/values/%27Sheet1%27%212%3A4", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" ], "X-Frame-Options": [ "SAMEORIGIN" ], + "Transfer-Encoding": [ + "chunked" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 30 Nov 2023 14:41:23 GMT" + ], "Cache-Control": [ "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], + "x-l2-request-path": [ + "l2-managed-6" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "191" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A2:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"1\",\n \"b2\",\n \"1.45\"\n ],\n [],\n [\n \"A4\",\n \"0.4\",\n \"\",\n \"4\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Bd01_j5JDZjjjcG4su-pI12_qurrHI58BlX7abSAawE/values/%27Sheet1%27%211%3A1", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { "Server": [ "ESF" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-XSS-Protection": [ + "0" + ], "Date": [ - "Wed, 29 Nov 2023 12:36:56 GMT" + "Thu, 30 Nov 2023 14:41:23 GMT" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "x-l2-request-path": [ + "l2-managed-6" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "X-Content-Type-Options": [ "nosniff" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "content-length": [ - "134" + "140" ] }, "body": { - "string": "{\n \"range\": \"Sheet1!A1:D1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"A1\",\n \"\",\n \"D1\"\n ]\n ]\n}\n" + "string": "{\n \"range\": \"Sheet1!A1:D1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"faff\",\n \"C3\",\n \"faff\"\n ]\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1LpWaxSELQM6AwD6zYLgu2QKHH4guQq22bxh6MzQpfJw/values/%27Sheet1%27%212%3A4", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Bd01_j5JDZjjjcG4su-pI12_qurrHI58BlX7abSAawE/values/%27Sheet1%27%212%3A4", "body": null, "headers": { "User-Agent": [ @@ -636,54 +782,273 @@ "message": "OK" }, "headers": { + "Server": [ + "ESF" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], "Transfer-Encoding": [ "chunked" ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 30 Nov 2023 14:41:24 GMT" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "x-l2-request-path": [ + "l2-managed-6" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "X-Content-Type-Options": [ + "nosniff" + ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], + "content-length": [ + "191" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A2:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"1\",\n \"b2\",\n \"1.45\"\n ],\n [],\n [\n \"A4\",\n \"0.4\",\n \"\",\n \"4\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Bd01_j5JDZjjjcG4su-pI12_qurrHI58BlX7abSAawE/values/%27Sheet1%27%211%3A1", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], "X-XSS-Protection": [ "0" ], + "Date": [ + "Thu, 30 Nov 2023 14:41:24 GMT" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "x-l2-request-path": [ + "l2-managed-6" + ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "140" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:D1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"faff\",\n \"C3\",\n \"faff\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Bd01_j5JDZjjjcG4su-pI12_qurrHI58BlX7abSAawE/values/%27Sheet1%27%212%3A4", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" ], "X-Frame-Options": [ "SAMEORIGIN" ], + "Transfer-Encoding": [ + "chunked" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 30 Nov 2023 14:41:24 GMT" + ], "Cache-Control": [ "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], + "x-l2-request-path": [ + "l2-managed-6" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "191" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A2:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"1\",\n \"b2\",\n \"1.45\"\n ],\n [],\n [\n \"A4\",\n \"0.4\",\n \"\",\n \"4\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Bd01_j5JDZjjjcG4su-pI12_qurrHI58BlX7abSAawE/values/%27Sheet1%27%211%3A1", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { "Server": [ "ESF" ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-XSS-Protection": [ + "0" + ], "Date": [ - "Wed, 29 Nov 2023 12:36:57 GMT" + "Thu, 30 Nov 2023 14:41:25 GMT" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "x-l2-request-path": [ + "l2-managed-6" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], "X-Content-Type-Options": [ "nosniff" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "content-length": [ - "191" + "140" ] }, "body": { - "string": "{\n \"range\": \"Sheet1!A2:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"1\",\n \"b2\",\n \"1.45\"\n ],\n [],\n [\n \"A4\",\n \"0.4\",\n \"\",\n \"4\"\n ]\n ]\n}\n" + "string": "{\n \"range\": \"Sheet1!A1:D1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"faff\",\n \"C3\",\n \"faff\"\n ]\n ]\n}\n" } } }, { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1LpWaxSELQM6AwD6zYLgu2QKHH4guQq22bxh6MzQpfJw?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1Bd01_j5JDZjjjcG4su-pI12_qurrHI58BlX7abSAawE?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -712,23 +1077,23 @@ "message": "No Content" }, "headers": { - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "X-Frame-Options": [ + "SAMEORIGIN" ], "X-XSS-Protection": [ "0" ], - "Vary": [ - "Origin, X-Origin" + "Date": [ + "Thu, 30 Nov 2023 14:41:26 GMT" ], - "Content-Length": [ - "0" + "Pragma": [ + "no-cache" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" @@ -736,17 +1101,17 @@ "Content-Type": [ "text/html" ], - "Pragma": [ - "no-cache" - ], - "Server": [ - "ESF" + "Content-Length": [ + "0" ], - "Date": [ - "Wed, 29 Nov 2023 12:36:57 GMT" + "Vary": [ + "Origin, X-Origin" ], "X-Content-Type-Options": [ "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_get_all_records_numericise_unformatted.json b/tests/cassettes/WorksheetTest.test_get_all_records_numericise_unformatted.json index 24ef4d9b5..d269df0f5 100644 --- a/tests/cassettes/WorksheetTest.test_get_all_records_numericise_unformatted.json +++ b/tests/cassettes/WorksheetTest.test_get_all_records_numericise_unformatted.json @@ -36,55 +36,55 @@ "message": "OK" }, "headers": { + "Server": [ + "ESF" + ], "X-Frame-Options": [ "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "X-XSS-Protection": [ + "0" ], "Date": [ - "Mon, 25 Sep 2023 12:21:17 GMT" + "Thu, 30 Nov 2023 14:41:29 GMT" ], "Pragma": [ "no-cache" ], - "X-XSS-Protection": [ - "0" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Server": [ - "ESF" - ], "Vary": [ "Origin, X-Origin" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "216" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"15ydr8XcYz8rEJhF1w-IYq6sITnsQaVuHBlmvfsfdIXU\",\n \"name\": \"Test WorksheetTest test_get_all_records_numericise_unformatted\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1pRTd3PnzNOlDB1VsJOHN_3DpgUEo2IvDoSyAdlEYYnw\",\n \"name\": \"Test WorksheetTest test_get_all_records_numericise_unformatted\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/15ydr8XcYz8rEJhF1w-IYq6sITnsQaVuHBlmvfsfdIXU?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1pRTd3PnzNOlDB1VsJOHN_3DpgUEo2IvDoSyAdlEYYnw?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -110,54 +110,54 @@ "message": "OK" }, "headers": { + "Server": [ + "ESF" + ], "X-Frame-Options": [ "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Mon, 25 Sep 2023 12:21:18 GMT" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" + "Date": [ + "Thu, 30 Nov 2023 14:41:30 GMT" ], - "x-l2-request-path": [ - "l2-managed-6" + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Server": [ - "ESF" + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "3360" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"15ydr8XcYz8rEJhF1w-IYq6sITnsQaVuHBlmvfsfdIXU\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_numericise_unformatted\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/15ydr8XcYz8rEJhF1w-IYq6sITnsQaVuHBlmvfsfdIXU/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1pRTd3PnzNOlDB1VsJOHN_3DpgUEo2IvDoSyAdlEYYnw\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_numericise_unformatted\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1pRTd3PnzNOlDB1VsJOHN_3DpgUEo2IvDoSyAdlEYYnw/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/15ydr8XcYz8rEJhF1w-IYq6sITnsQaVuHBlmvfsfdIXU?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1pRTd3PnzNOlDB1VsJOHN_3DpgUEo2IvDoSyAdlEYYnw?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -183,54 +183,54 @@ "message": "OK" }, "headers": { + "Server": [ + "ESF" + ], "X-Frame-Options": [ "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Mon, 25 Sep 2023 12:21:18 GMT" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" + "Date": [ + "Thu, 30 Nov 2023 14:41:30 GMT" ], - "x-l2-request-path": [ - "l2-managed-6" + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Server": [ - "ESF" + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "3360" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"15ydr8XcYz8rEJhF1w-IYq6sITnsQaVuHBlmvfsfdIXU\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_numericise_unformatted\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/15ydr8XcYz8rEJhF1w-IYq6sITnsQaVuHBlmvfsfdIXU/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1pRTd3PnzNOlDB1VsJOHN_3DpgUEo2IvDoSyAdlEYYnw\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_numericise_unformatted\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1pRTd3PnzNOlDB1VsJOHN_3DpgUEo2IvDoSyAdlEYYnw/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/15ydr8XcYz8rEJhF1w-IYq6sITnsQaVuHBlmvfsfdIXU/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1pRTd3PnzNOlDB1VsJOHN_3DpgUEo2IvDoSyAdlEYYnw/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -259,54 +259,54 @@ "message": "OK" }, "headers": { + "Server": [ + "ESF" + ], "X-Frame-Options": [ "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Mon, 25 Sep 2023 12:21:18 GMT" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" + "Date": [ + "Thu, 30 Nov 2023 14:41:31 GMT" ], - "x-l2-request-path": [ - "l2-managed-6" + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Server": [ - "ESF" + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "107" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"15ydr8XcYz8rEJhF1w-IYq6sITnsQaVuHBlmvfsfdIXU\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1pRTd3PnzNOlDB1VsJOHN_3DpgUEo2IvDoSyAdlEYYnw\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/15ydr8XcYz8rEJhF1w-IYq6sITnsQaVuHBlmvfsfdIXU:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1pRTd3PnzNOlDB1VsJOHN_3DpgUEo2IvDoSyAdlEYYnw:batchUpdate", "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 2, \"columnCount\": 4}}, \"fields\": \"gridProperties/rowCount,gridProperties/columnCount\"}}]}", "headers": { "User-Agent": [ @@ -338,54 +338,54 @@ "message": "OK" }, "headers": { + "Server": [ + "ESF" + ], "X-Frame-Options": [ "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Mon, 25 Sep 2023 12:21:18 GMT" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" + "Date": [ + "Thu, 30 Nov 2023 14:41:32 GMT" ], - "x-l2-request-path": [ - "l2-managed-6" + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Server": [ - "ESF" + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "97" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"15ydr8XcYz8rEJhF1w-IYq6sITnsQaVuHBlmvfsfdIXU\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1pRTd3PnzNOlDB1VsJOHN_3DpgUEo2IvDoSyAdlEYYnw\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/15ydr8XcYz8rEJhF1w-IYq6sITnsQaVuHBlmvfsfdIXU/values/%27Sheet1%27%21A1%3AD2", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1pRTd3PnzNOlDB1VsJOHN_3DpgUEo2IvDoSyAdlEYYnw/values/%27Sheet1%27%21A1%3AD2", "body": null, "headers": { "User-Agent": [ @@ -411,40 +411,40 @@ "message": "OK" }, "headers": { + "Server": [ + "ESF" + ], "X-Frame-Options": [ "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Mon, 25 Sep 2023 12:21:19 GMT" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" + "Date": [ + "Thu, 30 Nov 2023 14:41:32 GMT" ], - "x-l2-request-path": [ - "l2-managed-6" + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Server": [ - "ESF" + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "58" @@ -458,7 +458,7 @@ { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/15ydr8XcYz8rEJhF1w-IYq6sITnsQaVuHBlmvfsfdIXU/values/%27Sheet1%27%21A1%3AD2?valueInputOption=USER_ENTERED", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1pRTd3PnzNOlDB1VsJOHN_3DpgUEo2IvDoSyAdlEYYnw/values/%27Sheet1%27%21A1%3AD2?valueInputOption=USER_ENTERED", "body": "{\"values\": [[\"A\", \"\", \"C\", \"3_1_0\"], [\"=3/2\", 0.12, \"\", \"3_2_1\"]]}", "headers": { "User-Agent": [ @@ -490,54 +490,54 @@ "message": "OK" }, "headers": { + "Server": [ + "ESF" + ], "X-Frame-Options": [ "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Mon, 25 Sep 2023 12:21:19 GMT" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" + "Date": [ + "Thu, 30 Nov 2023 14:41:33 GMT" ], - "x-l2-request-path": [ - "l2-managed-6" + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Server": [ - "ESF" + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "168" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"15ydr8XcYz8rEJhF1w-IYq6sITnsQaVuHBlmvfsfdIXU\",\n \"updatedRange\": \"Sheet1!A1:D2\",\n \"updatedRows\": 2,\n \"updatedColumns\": 4,\n \"updatedCells\": 8\n}\n" + "string": "{\n \"spreadsheetId\": \"1pRTd3PnzNOlDB1VsJOHN_3DpgUEo2IvDoSyAdlEYYnw\",\n \"updatedRange\": \"Sheet1!A1:D2\",\n \"updatedRows\": 2,\n \"updatedColumns\": 4,\n \"updatedCells\": 8\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/15ydr8XcYz8rEJhF1w-IYq6sITnsQaVuHBlmvfsfdIXU/values/%27Sheet1%27%211%3A1?valueRenderOption=UNFORMATTED_VALUE", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1pRTd3PnzNOlDB1VsJOHN_3DpgUEo2IvDoSyAdlEYYnw/values/%27Sheet1%27%212%3A2?valueRenderOption=UNFORMATTED_VALUE", "body": null, "headers": { "User-Agent": [ @@ -563,54 +563,54 @@ "message": "OK" }, "headers": { + "Server": [ + "ESF" + ], "X-Frame-Options": [ "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Mon, 25 Sep 2023 12:21:19 GMT" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" + "Date": [ + "Thu, 30 Nov 2023 14:41:33 GMT" ], - "x-l2-request-path": [ - "l2-managed-6" + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Server": [ - "ESF" + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ - "135" + "136" ] }, "body": { - "string": "{\n \"range\": \"Sheet1!A1:D1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A\",\n \"\",\n \"C\",\n \"3_1_0\"\n ]\n ]\n}\n" + "string": "{\n \"range\": \"Sheet1!A2:D2\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n 1.5,\n 0.12,\n \"\",\n \"3_2_1\"\n ]\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/15ydr8XcYz8rEJhF1w-IYq6sITnsQaVuHBlmvfsfdIXU/values/%27Sheet1%27%212%3A2?valueRenderOption=UNFORMATTED_VALUE", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1pRTd3PnzNOlDB1VsJOHN_3DpgUEo2IvDoSyAdlEYYnw/values/%27Sheet1%27%211%3A1?valueRenderOption=UNFORMATTED_VALUE", "body": null, "headers": { "User-Agent": [ @@ -636,54 +636,54 @@ "message": "OK" }, "headers": { + "Server": [ + "ESF" + ], "X-Frame-Options": [ "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Mon, 25 Sep 2023 12:21:19 GMT" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" + "Date": [ + "Thu, 30 Nov 2023 14:41:33 GMT" ], - "x-l2-request-path": [ - "l2-managed-6" + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Server": [ - "ESF" + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ - "136" + "135" ] }, "body": { - "string": "{\n \"range\": \"Sheet1!A2:D2\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n 1.5,\n 0.12,\n \"\",\n \"3_2_1\"\n ]\n ]\n}\n" + "string": "{\n \"range\": \"Sheet1!A1:D1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A\",\n \"\",\n \"C\",\n \"3_1_0\"\n ]\n ]\n}\n" } } }, { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/15ydr8XcYz8rEJhF1w-IYq6sITnsQaVuHBlmvfsfdIXU?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1pRTd3PnzNOlDB1VsJOHN_3DpgUEo2IvDoSyAdlEYYnw?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -712,41 +712,41 @@ "message": "No Content" }, "headers": { + "Server": [ + "ESF" + ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Pragma": [ - "no-cache" + "X-XSS-Protection": [ + "0" ], "Date": [ - "Mon, 25 Sep 2023 12:21:20 GMT" + "Thu, 30 Nov 2023 14:41:34 GMT" ], - "X-XSS-Protection": [ - "0" + "Pragma": [ + "no-cache" ], - "Content-Length": [ - "0" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "Content-Type": [ "text/html" ], - "Server": [ - "ESF" + "Content-Length": [ + "0" ], "Vary": [ "Origin, X-Origin" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_get_all_records_value_render_options.json b/tests/cassettes/WorksheetTest.test_get_all_records_value_render_options.json index 851a79b06..eb0131551 100644 --- a/tests/cassettes/WorksheetTest.test_get_all_records_value_render_options.json +++ b/tests/cassettes/WorksheetTest.test_get_all_records_value_render_options.json @@ -36,55 +36,55 @@ "message": "OK" }, "headers": { + "Server": [ + "ESF" + ], "X-Frame-Options": [ "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "X-XSS-Protection": [ + "0" ], "Date": [ - "Mon, 25 Sep 2023 12:21:22 GMT" + "Thu, 30 Nov 2023 14:41:36 GMT" ], "Pragma": [ "no-cache" ], - "X-XSS-Protection": [ - "0" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Server": [ - "ESF" - ], "Vary": [ "Origin, X-Origin" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "214" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"117hdYapGuKKiqnjtX88_TQa0C1J4F708dBCgx-OzNnQ\",\n \"name\": \"Test WorksheetTest test_get_all_records_value_render_options\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1AkcONYRTktP9hCzoav_uvGo1lm2oGwH5ikPHnWhLsyc\",\n \"name\": \"Test WorksheetTest test_get_all_records_value_render_options\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/117hdYapGuKKiqnjtX88_TQa0C1J4F708dBCgx-OzNnQ?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1AkcONYRTktP9hCzoav_uvGo1lm2oGwH5ikPHnWhLsyc?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -110,54 +110,54 @@ "message": "OK" }, "headers": { + "Server": [ + "ESF" + ], "X-Frame-Options": [ "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Mon, 25 Sep 2023 12:21:22 GMT" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" + "Date": [ + "Thu, 30 Nov 2023 14:41:37 GMT" ], - "x-l2-request-path": [ - "l2-managed-6" + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Server": [ - "ESF" + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "3358" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"117hdYapGuKKiqnjtX88_TQa0C1J4F708dBCgx-OzNnQ\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_value_render_options\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/117hdYapGuKKiqnjtX88_TQa0C1J4F708dBCgx-OzNnQ/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1AkcONYRTktP9hCzoav_uvGo1lm2oGwH5ikPHnWhLsyc\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_value_render_options\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1AkcONYRTktP9hCzoav_uvGo1lm2oGwH5ikPHnWhLsyc/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/117hdYapGuKKiqnjtX88_TQa0C1J4F708dBCgx-OzNnQ?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1AkcONYRTktP9hCzoav_uvGo1lm2oGwH5ikPHnWhLsyc?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -183,54 +183,54 @@ "message": "OK" }, "headers": { + "Server": [ + "ESF" + ], "X-Frame-Options": [ "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Mon, 25 Sep 2023 12:21:22 GMT" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" + "Date": [ + "Thu, 30 Nov 2023 14:41:37 GMT" ], - "x-l2-request-path": [ - "l2-managed-6" + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Server": [ - "ESF" + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "3358" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"117hdYapGuKKiqnjtX88_TQa0C1J4F708dBCgx-OzNnQ\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_value_render_options\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/117hdYapGuKKiqnjtX88_TQa0C1J4F708dBCgx-OzNnQ/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1AkcONYRTktP9hCzoav_uvGo1lm2oGwH5ikPHnWhLsyc\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_value_render_options\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1AkcONYRTktP9hCzoav_uvGo1lm2oGwH5ikPHnWhLsyc/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/117hdYapGuKKiqnjtX88_TQa0C1J4F708dBCgx-OzNnQ/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1AkcONYRTktP9hCzoav_uvGo1lm2oGwH5ikPHnWhLsyc/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -259,54 +259,54 @@ "message": "OK" }, "headers": { + "Server": [ + "ESF" + ], "X-Frame-Options": [ "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Mon, 25 Sep 2023 12:21:23 GMT" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" + "Date": [ + "Thu, 30 Nov 2023 14:41:38 GMT" ], - "x-l2-request-path": [ - "l2-managed-6" + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Server": [ - "ESF" + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "107" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"117hdYapGuKKiqnjtX88_TQa0C1J4F708dBCgx-OzNnQ\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1AkcONYRTktP9hCzoav_uvGo1lm2oGwH5ikPHnWhLsyc\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/117hdYapGuKKiqnjtX88_TQa0C1J4F708dBCgx-OzNnQ:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1AkcONYRTktP9hCzoav_uvGo1lm2oGwH5ikPHnWhLsyc:batchUpdate", "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 2, \"columnCount\": 4}}, \"fields\": \"gridProperties/rowCount,gridProperties/columnCount\"}}]}", "headers": { "User-Agent": [ @@ -338,54 +338,54 @@ "message": "OK" }, "headers": { + "Server": [ + "ESF" + ], "X-Frame-Options": [ "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Mon, 25 Sep 2023 12:21:23 GMT" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" + "Date": [ + "Thu, 30 Nov 2023 14:41:38 GMT" ], - "x-l2-request-path": [ - "l2-managed-6" + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Server": [ - "ESF" + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "97" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"117hdYapGuKKiqnjtX88_TQa0C1J4F708dBCgx-OzNnQ\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1AkcONYRTktP9hCzoav_uvGo1lm2oGwH5ikPHnWhLsyc\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/117hdYapGuKKiqnjtX88_TQa0C1J4F708dBCgx-OzNnQ/values/%27Sheet1%27%21A1%3AD2", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1AkcONYRTktP9hCzoav_uvGo1lm2oGwH5ikPHnWhLsyc/values/%27Sheet1%27%21A1%3AD2", "body": null, "headers": { "User-Agent": [ @@ -411,40 +411,40 @@ "message": "OK" }, "headers": { + "Server": [ + "ESF" + ], "X-Frame-Options": [ "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Mon, 25 Sep 2023 12:21:23 GMT" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" + "Date": [ + "Thu, 30 Nov 2023 14:41:39 GMT" ], - "x-l2-request-path": [ - "l2-managed-6" + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Server": [ - "ESF" + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "58" @@ -458,7 +458,7 @@ { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/117hdYapGuKKiqnjtX88_TQa0C1J4F708dBCgx-OzNnQ/values/%27Sheet1%27%21A1%3AD2?valueInputOption=USER_ENTERED", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1AkcONYRTktP9hCzoav_uvGo1lm2oGwH5ikPHnWhLsyc/values/%27Sheet1%27%21A1%3AD2?valueInputOption=USER_ENTERED", "body": "{\"values\": [[\"=4/2\", \"2020-01-01\", \"string\", 53], [\"=3/2\", 0.12, \"1999-01-02\", \"\"]]}", "headers": { "User-Agent": [ @@ -490,54 +490,54 @@ "message": "OK" }, "headers": { + "Server": [ + "ESF" + ], "X-Frame-Options": [ "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Mon, 25 Sep 2023 12:21:23 GMT" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" + "Date": [ + "Thu, 30 Nov 2023 14:41:39 GMT" ], - "x-l2-request-path": [ - "l2-managed-6" + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Server": [ - "ESF" + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "168" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"117hdYapGuKKiqnjtX88_TQa0C1J4F708dBCgx-OzNnQ\",\n \"updatedRange\": \"Sheet1!A1:D2\",\n \"updatedRows\": 2,\n \"updatedColumns\": 4,\n \"updatedCells\": 8\n}\n" + "string": "{\n \"spreadsheetId\": \"1AkcONYRTktP9hCzoav_uvGo1lm2oGwH5ikPHnWhLsyc\",\n \"updatedRange\": \"Sheet1!A1:D2\",\n \"updatedRows\": 2,\n \"updatedColumns\": 4,\n \"updatedCells\": 8\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/117hdYapGuKKiqnjtX88_TQa0C1J4F708dBCgx-OzNnQ/values/%27Sheet1%27%211%3A1", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1AkcONYRTktP9hCzoav_uvGo1lm2oGwH5ikPHnWhLsyc/values/%27Sheet1%27%212%3A2", "body": null, "headers": { "User-Agent": [ @@ -563,54 +563,54 @@ "message": "OK" }, "headers": { + "Server": [ + "ESF" + ], "X-Frame-Options": [ "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Mon, 25 Sep 2023 12:21:24 GMT" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" + "Date": [ + "Thu, 30 Nov 2023 14:41:40 GMT" ], - "x-l2-request-path": [ - "l2-managed-6" + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Server": [ - "ESF" + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ - "147" + "135" ] }, "body": { - "string": "{\n \"range\": \"Sheet1!A1:D1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"2\",\n \"2020-01-01\",\n \"string\",\n \"53\"\n ]\n ]\n}\n" + "string": "{\n \"range\": \"Sheet1!A2:D2\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"1.5\",\n \"0.12\",\n \"1999-01-02\"\n ]\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/117hdYapGuKKiqnjtX88_TQa0C1J4F708dBCgx-OzNnQ/values/%27Sheet1%27%212%3A2", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1AkcONYRTktP9hCzoav_uvGo1lm2oGwH5ikPHnWhLsyc/values/%27Sheet1%27%211%3A1", "body": null, "headers": { "User-Agent": [ @@ -636,54 +636,54 @@ "message": "OK" }, "headers": { + "Server": [ + "ESF" + ], "X-Frame-Options": [ "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Mon, 25 Sep 2023 12:21:24 GMT" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" + "Date": [ + "Thu, 30 Nov 2023 14:41:40 GMT" ], - "x-l2-request-path": [ - "l2-managed-6" + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Server": [ - "ESF" + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ - "135" + "147" ] }, "body": { - "string": "{\n \"range\": \"Sheet1!A2:D2\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"1.5\",\n \"0.12\",\n \"1999-01-02\"\n ]\n ]\n}\n" + "string": "{\n \"range\": \"Sheet1!A1:D1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"2\",\n \"2020-01-01\",\n \"string\",\n \"53\"\n ]\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/117hdYapGuKKiqnjtX88_TQa0C1J4F708dBCgx-OzNnQ/values/%27Sheet1%27%211%3A1?valueRenderOption=UNFORMATTED_VALUE", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1AkcONYRTktP9hCzoav_uvGo1lm2oGwH5ikPHnWhLsyc/values/%27Sheet1%27%212%3A2?valueRenderOption=UNFORMATTED_VALUE", "body": null, "headers": { "User-Agent": [ @@ -709,54 +709,54 @@ "message": "OK" }, "headers": { + "Server": [ + "ESF" + ], "X-Frame-Options": [ "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Mon, 25 Sep 2023 12:21:24 GMT" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" + "Date": [ + "Thu, 30 Nov 2023 14:41:41 GMT" ], - "x-l2-request-path": [ - "l2-managed-6" + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Server": [ - "ESF" + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ - "136" + "124" ] }, "body": { - "string": "{\n \"range\": \"Sheet1!A1:D1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n 2,\n 43831,\n \"string\",\n 53\n ]\n ]\n}\n" + "string": "{\n \"range\": \"Sheet1!A2:D2\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n 1.5,\n 0.12,\n 36162\n ]\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/117hdYapGuKKiqnjtX88_TQa0C1J4F708dBCgx-OzNnQ/values/%27Sheet1%27%212%3A2?valueRenderOption=UNFORMATTED_VALUE", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1AkcONYRTktP9hCzoav_uvGo1lm2oGwH5ikPHnWhLsyc/values/%27Sheet1%27%211%3A1?valueRenderOption=UNFORMATTED_VALUE", "body": null, "headers": { "User-Agent": [ @@ -782,54 +782,54 @@ "message": "OK" }, "headers": { + "Server": [ + "ESF" + ], "X-Frame-Options": [ "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Mon, 25 Sep 2023 12:21:24 GMT" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" + "Date": [ + "Thu, 30 Nov 2023 14:41:41 GMT" ], - "x-l2-request-path": [ - "l2-managed-6" + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Server": [ - "ESF" + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ - "124" + "136" ] }, "body": { - "string": "{\n \"range\": \"Sheet1!A2:D2\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n 1.5,\n 0.12,\n 36162\n ]\n ]\n}\n" + "string": "{\n \"range\": \"Sheet1!A1:D1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n 2,\n 43831,\n \"string\",\n 53\n ]\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/117hdYapGuKKiqnjtX88_TQa0C1J4F708dBCgx-OzNnQ/values/%27Sheet1%27%211%3A1?valueRenderOption=FORMULA", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1AkcONYRTktP9hCzoav_uvGo1lm2oGwH5ikPHnWhLsyc/values/%27Sheet1%27%212%3A2?valueRenderOption=FORMULA", "body": null, "headers": { "User-Agent": [ @@ -855,54 +855,54 @@ "message": "OK" }, "headers": { + "Server": [ + "ESF" + ], "X-Frame-Options": [ "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Mon, 25 Sep 2023 12:21:24 GMT" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" + "Date": [ + "Thu, 30 Nov 2023 14:41:42 GMT" ], - "x-l2-request-path": [ - "l2-managed-6" + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Server": [ - "ESF" + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ - "141" + "127" ] }, "body": { - "string": "{\n \"range\": \"Sheet1!A1:D1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"=4/2\",\n 43831,\n \"string\",\n 53\n ]\n ]\n}\n" + "string": "{\n \"range\": \"Sheet1!A2:D2\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"=3/2\",\n 0.12,\n 36162\n ]\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/117hdYapGuKKiqnjtX88_TQa0C1J4F708dBCgx-OzNnQ/values/%27Sheet1%27%212%3A2?valueRenderOption=FORMULA", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1AkcONYRTktP9hCzoav_uvGo1lm2oGwH5ikPHnWhLsyc/values/%27Sheet1%27%211%3A1?valueRenderOption=FORMULA", "body": null, "headers": { "User-Agent": [ @@ -928,54 +928,54 @@ "message": "OK" }, "headers": { + "Server": [ + "ESF" + ], "X-Frame-Options": [ "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Mon, 25 Sep 2023 12:21:25 GMT" - ], "X-XSS-Protection": [ "0" ], - "X-Content-Type-Options": [ - "nosniff" + "Date": [ + "Thu, 30 Nov 2023 14:41:42 GMT" ], - "x-l2-request-path": [ - "l2-managed-6" + "Cache-Control": [ + "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], - "Server": [ - "ESF" + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ - "127" + "141" ] }, "body": { - "string": "{\n \"range\": \"Sheet1!A2:D2\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"=3/2\",\n 0.12,\n 36162\n ]\n ]\n}\n" + "string": "{\n \"range\": \"Sheet1!A1:D1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"=4/2\",\n 43831,\n \"string\",\n 53\n ]\n ]\n}\n" } } }, { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/117hdYapGuKKiqnjtX88_TQa0C1J4F708dBCgx-OzNnQ?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1AkcONYRTktP9hCzoav_uvGo1lm2oGwH5ikPHnWhLsyc?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -1004,41 +1004,41 @@ "message": "No Content" }, "headers": { + "Server": [ + "ESF" + ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Pragma": [ - "no-cache" + "X-XSS-Protection": [ + "0" ], "Date": [ - "Mon, 25 Sep 2023 12:21:25 GMT" + "Thu, 30 Nov 2023 14:41:43 GMT" ], - "X-XSS-Protection": [ - "0" + "Pragma": [ + "no-cache" ], - "Content-Length": [ - "0" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], - "X-Content-Type-Options": [ - "nosniff" + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "Content-Type": [ "text/html" ], - "Server": [ - "ESF" + "Content-Length": [ + "0" ], "Vary": [ "Origin, X-Origin" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" + "X-Content-Type-Options": [ + "nosniff" ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_get_all_records_with_blank_final_headers.json b/tests/cassettes/WorksheetTest.test_get_all_records_with_blank_final_headers.json new file mode 100644 index 000000000..f87476998 --- /dev/null +++ b/tests/cassettes/WorksheetTest.test_get_all_records_with_blank_final_headers.json @@ -0,0 +1,831 @@ +{ + "version": 1, + "interactions": [ + { + "request": { + "method": "POST", + "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", + "body": "{\"name\": \"Test WorksheetTest test_get_all_records_with_blank_final_headers\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "Content-Length": [ + "131" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 30 Nov 2023 14:41:46 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "218" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1JlbB2xCGLVV15Ni7c_5Usa_g1fIqMRWhnHbMeV2HNww\",\n \"name\": \"Test WorksheetTest test_get_all_records_with_blank_final_headers\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JlbB2xCGLVV15Ni7c_5Usa_g1fIqMRWhnHbMeV2HNww?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 30 Nov 2023 14:41:46 GMT" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "x-l2-request-path": [ + "l2-managed-6" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "3362" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1JlbB2xCGLVV15Ni7c_5Usa_g1fIqMRWhnHbMeV2HNww\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_with_blank_final_headers\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1JlbB2xCGLVV15Ni7c_5Usa_g1fIqMRWhnHbMeV2HNww/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JlbB2xCGLVV15Ni7c_5Usa_g1fIqMRWhnHbMeV2HNww?includeGridData=false", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 30 Nov 2023 14:41:46 GMT" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "x-l2-request-path": [ + "l2-managed-6" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "3362" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1JlbB2xCGLVV15Ni7c_5Usa_g1fIqMRWhnHbMeV2HNww\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_with_blank_final_headers\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1JlbB2xCGLVV15Ni7c_5Usa_g1fIqMRWhnHbMeV2HNww/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JlbB2xCGLVV15Ni7c_5Usa_g1fIqMRWhnHbMeV2HNww/values/%27Sheet1%27:clear", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 30 Nov 2023 14:41:47 GMT" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "x-l2-request-path": [ + "l2-managed-6" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1JlbB2xCGLVV15Ni7c_5Usa_g1fIqMRWhnHbMeV2HNww\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JlbB2xCGLVV15Ni7c_5Usa_g1fIqMRWhnHbMeV2HNww:batchUpdate", + "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 4, \"columnCount\": 4}}, \"fields\": \"gridProperties/rowCount,gridProperties/columnCount\"}}]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "Content-Length": [ + "190" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 30 Nov 2023 14:41:48 GMT" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "x-l2-request-path": [ + "l2-managed-6" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1JlbB2xCGLVV15Ni7c_5Usa_g1fIqMRWhnHbMeV2HNww\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JlbB2xCGLVV15Ni7c_5Usa_g1fIqMRWhnHbMeV2HNww/values/%27Sheet1%27%21A1%3AD4?valueInputOption=RAW", + "body": "{\"values\": [[\"A1\", \"faff\", \"\", \"\"], [1, \"b2\", 1.45, \"\"], [\"\", \"\", \"\", \"\"], [\"A4\", 0.4, \"\", 4]]}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "Content-Length": [ + "95" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 30 Nov 2023 14:41:49 GMT" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "x-l2-request-path": [ + "l2-managed-6" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "169" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1JlbB2xCGLVV15Ni7c_5Usa_g1fIqMRWhnHbMeV2HNww\",\n \"updatedRange\": \"Sheet1!A1:D4\",\n \"updatedRows\": 4,\n \"updatedColumns\": 4,\n \"updatedCells\": 16\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JlbB2xCGLVV15Ni7c_5Usa_g1fIqMRWhnHbMeV2HNww/values/%27Sheet1%27%212%3A4", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 30 Nov 2023 14:41:49 GMT" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "x-l2-request-path": [ + "l2-managed-6" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "191" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A2:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"1\",\n \"b2\",\n \"1.45\"\n ],\n [],\n [\n \"A4\",\n \"0.4\",\n \"\",\n \"4\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JlbB2xCGLVV15Ni7c_5Usa_g1fIqMRWhnHbMeV2HNww/values/%27Sheet1%27%211%3A1", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 30 Nov 2023 14:41:49 GMT" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "x-l2-request-path": [ + "l2-managed-6" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "114" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:D1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"faff\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JlbB2xCGLVV15Ni7c_5Usa_g1fIqMRWhnHbMeV2HNww/values/%27Sheet1%27%212%3A4", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 30 Nov 2023 14:41:50 GMT" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "x-l2-request-path": [ + "l2-managed-6" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "191" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A2:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"1\",\n \"b2\",\n \"1.45\"\n ],\n [],\n [\n \"A4\",\n \"0.4\",\n \"\",\n \"4\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JlbB2xCGLVV15Ni7c_5Usa_g1fIqMRWhnHbMeV2HNww/values/%27Sheet1%27%211%3A1", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "Server": [ + "ESF" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Transfer-Encoding": [ + "chunked" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 30 Nov 2023 14:41:50 GMT" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "x-l2-request-path": [ + "l2-managed-6" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "content-length": [ + "114" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:D1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"faff\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1JlbB2xCGLVV15Ni7c_5Usa_g1fIqMRWhnHbMeV2HNww?supportsAllDrives=True", + "body": null, + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "Content-Length": [ + "0" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 204, + "message": "No Content" + }, + "headers": { + "Server": [ + "ESF" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 30 Nov 2023 14:41:51 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "text/html" + ], + "Content-Length": [ + "0" + ], + "Vary": [ + "Origin, X-Origin" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ] + }, + "body": { + "string": "" + } + } + } + ] +} diff --git a/tests/cassettes/WorksheetTest.test_get_all_records_expected_headers_with_blank.json b/tests/cassettes/WorksheetTest.test_get_all_records_with_keys_blank.json similarity index 72% rename from tests/cassettes/WorksheetTest.test_get_all_records_expected_headers_with_blank.json rename to tests/cassettes/WorksheetTest.test_get_all_records_with_keys_blank.json index 7b46d9a77..8479d168e 100644 --- a/tests/cassettes/WorksheetTest.test_get_all_records_expected_headers_with_blank.json +++ b/tests/cassettes/WorksheetTest.test_get_all_records_with_keys_blank.json @@ -5,7 +5,7 @@ "request": { "method": "POST", "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_get_all_records_expected_headers_with_blank\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "body": "{\"name\": \"Test WorksheetTest test_get_all_records_with_keys_blank\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", "headers": { "User-Agent": [ "python-requests/2.31.0" @@ -20,7 +20,7 @@ "keep-alive" ], "Content-Length": [ - "134" + "122" ], "Content-Type": [ "application/json" @@ -36,55 +36,55 @@ "message": "OK" }, "headers": { - "Pragma": [ - "no-cache" + "Server": [ + "ESF" ], - "Vary": [ - "Origin, X-Origin" + "X-Frame-Options": [ + "SAMEORIGIN" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "Transfer-Encoding": [ + "chunked" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 30 Nov 2023 14:41:53 GMT" + ], + "Pragma": [ + "no-cache" ], "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], - "X-XSS-Protection": [ - "0" - ], - "Server": [ - "ESF" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Date": [ - "Wed, 29 Nov 2023 12:37:12 GMT" + "Content-Type": [ + "application/json; charset=UTF-8" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Vary": [ + "Origin, X-Origin" ], "X-Content-Type-Options": [ "nosniff" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "content-length": [ - "221" + "209" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1kuxZpYCw5bX3Om1qFNyNCHmYLaISemicf6GJkKZUojc\",\n \"name\": \"Test WorksheetTest test_get_all_records_expected_headers_with_blank\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1xL6b24GxqacAld6VSjXkxKNY7pbu4RXfL7jUoTpDs1o\",\n \"name\": \"Test WorksheetTest test_get_all_records_with_keys_blank\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1kuxZpYCw5bX3Om1qFNyNCHmYLaISemicf6GJkKZUojc?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1xL6b24GxqacAld6VSjXkxKNY7pbu4RXfL7jUoTpDs1o?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -110,54 +110,54 @@ "message": "OK" }, "headers": { - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], - "Cache-Control": [ - "private" + "X-Frame-Options": [ + "SAMEORIGIN" ], - "x-l2-request-path": [ - "l2-managed-6" + "Transfer-Encoding": [ + "chunked" ], "X-XSS-Protection": [ "0" ], - "Server": [ - "ESF" - ], "Date": [ - "Wed, 29 Nov 2023 12:37:13 GMT" + "Thu, 30 Nov 2023 14:41:54 GMT" ], - "Transfer-Encoding": [ - "chunked" + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "X-Content-Type-Options": [ "nosniff" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "content-length": [ - "3365" + "3353" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1kuxZpYCw5bX3Om1qFNyNCHmYLaISemicf6GJkKZUojc\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_expected_headers_with_blank\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1kuxZpYCw5bX3Om1qFNyNCHmYLaISemicf6GJkKZUojc/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1xL6b24GxqacAld6VSjXkxKNY7pbu4RXfL7jUoTpDs1o\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_with_keys_blank\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1xL6b24GxqacAld6VSjXkxKNY7pbu4RXfL7jUoTpDs1o/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1kuxZpYCw5bX3Om1qFNyNCHmYLaISemicf6GJkKZUojc?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1xL6b24GxqacAld6VSjXkxKNY7pbu4RXfL7jUoTpDs1o?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -183,54 +183,54 @@ "message": "OK" }, "headers": { - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], - "Cache-Control": [ - "private" + "X-Frame-Options": [ + "SAMEORIGIN" ], - "x-l2-request-path": [ - "l2-managed-6" + "Transfer-Encoding": [ + "chunked" ], "X-XSS-Protection": [ "0" ], - "Server": [ - "ESF" - ], "Date": [ - "Wed, 29 Nov 2023 12:37:13 GMT" + "Thu, 30 Nov 2023 14:41:54 GMT" ], - "Transfer-Encoding": [ - "chunked" + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "X-Content-Type-Options": [ "nosniff" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "content-length": [ - "3365" + "3353" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1kuxZpYCw5bX3Om1qFNyNCHmYLaISemicf6GJkKZUojc\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_expected_headers_with_blank\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1kuxZpYCw5bX3Om1qFNyNCHmYLaISemicf6GJkKZUojc/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1xL6b24GxqacAld6VSjXkxKNY7pbu4RXfL7jUoTpDs1o\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_with_keys_blank\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1xL6b24GxqacAld6VSjXkxKNY7pbu4RXfL7jUoTpDs1o/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1kuxZpYCw5bX3Om1qFNyNCHmYLaISemicf6GJkKZUojc/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1xL6b24GxqacAld6VSjXkxKNY7pbu4RXfL7jUoTpDs1o/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -259,54 +259,54 @@ "message": "OK" }, "headers": { - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], - "Cache-Control": [ - "private" + "X-Frame-Options": [ + "SAMEORIGIN" ], - "x-l2-request-path": [ - "l2-managed-6" + "Transfer-Encoding": [ + "chunked" ], "X-XSS-Protection": [ "0" ], - "Server": [ - "ESF" - ], "Date": [ - "Wed, 29 Nov 2023 12:37:14 GMT" + "Thu, 30 Nov 2023 14:41:54 GMT" ], - "Transfer-Encoding": [ - "chunked" + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "X-Content-Type-Options": [ "nosniff" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "content-length": [ "107" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1kuxZpYCw5bX3Om1qFNyNCHmYLaISemicf6GJkKZUojc\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1xL6b24GxqacAld6VSjXkxKNY7pbu4RXfL7jUoTpDs1o\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1kuxZpYCw5bX3Om1qFNyNCHmYLaISemicf6GJkKZUojc:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1xL6b24GxqacAld6VSjXkxKNY7pbu4RXfL7jUoTpDs1o:batchUpdate", "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 4, \"columnCount\": 4}}, \"fields\": \"gridProperties/rowCount,gridProperties/columnCount\"}}]}", "headers": { "User-Agent": [ @@ -338,54 +338,54 @@ "message": "OK" }, "headers": { - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], - "Cache-Control": [ - "private" + "X-Frame-Options": [ + "SAMEORIGIN" ], - "x-l2-request-path": [ - "l2-managed-6" + "Transfer-Encoding": [ + "chunked" ], "X-XSS-Protection": [ "0" ], - "Server": [ - "ESF" - ], "Date": [ - "Wed, 29 Nov 2023 12:37:14 GMT" + "Thu, 30 Nov 2023 14:41:55 GMT" ], - "Transfer-Encoding": [ - "chunked" + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "X-Content-Type-Options": [ "nosniff" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "content-length": [ "97" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1kuxZpYCw5bX3Om1qFNyNCHmYLaISemicf6GJkKZUojc\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1xL6b24GxqacAld6VSjXkxKNY7pbu4RXfL7jUoTpDs1o\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1kuxZpYCw5bX3Om1qFNyNCHmYLaISemicf6GJkKZUojc/values/%27Sheet1%27%21A1%3AD4", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1xL6b24GxqacAld6VSjXkxKNY7pbu4RXfL7jUoTpDs1o/values/%27Sheet1%27%21A1%3AD4", "body": null, "headers": { "User-Agent": [ @@ -411,41 +411,41 @@ "message": "OK" }, "headers": { - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], - "Cache-Control": [ - "private" + "X-Frame-Options": [ + "SAMEORIGIN" ], - "x-l2-request-path": [ - "l2-managed-6" + "Transfer-Encoding": [ + "chunked" ], "X-XSS-Protection": [ "0" ], - "Server": [ - "ESF" - ], "Date": [ - "Wed, 29 Nov 2023 12:37:15 GMT" + "Thu, 30 Nov 2023 14:41:55 GMT" ], - "Transfer-Encoding": [ - "chunked" + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "X-Content-Type-Options": [ "nosniff" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "content-length": [ "58" ] @@ -458,8 +458,8 @@ { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1kuxZpYCw5bX3Om1qFNyNCHmYLaISemicf6GJkKZUojc/values/%27Sheet1%27%21A1%3AD4?valueInputOption=RAW", - "body": "{\"values\": [[\"A1\", \"faff\", \"\", \"\"], [1, \"b2\", 1.45, \"\"], [\"\", \"\", \"\", \"\"], [\"A4\", 0.4, \"\", 4]]}", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1xL6b24GxqacAld6VSjXkxKNY7pbu4RXfL7jUoTpDs1o/values/%27Sheet1%27%21A1%3AD4?valueInputOption=RAW", + "body": "{\"values\": [[\"\", \"\", \"\", \"\"], [\"c\", \"d\", \"e\", \"f\"], [\"g\", \"h\", \"i\", \"j\"], [\"k\", \"l\", \"m\", \"\"]]}", "headers": { "User-Agent": [ "python-requests/2.31.0" @@ -490,54 +490,54 @@ "message": "OK" }, "headers": { - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], - "Cache-Control": [ - "private" + "X-Frame-Options": [ + "SAMEORIGIN" ], - "x-l2-request-path": [ - "l2-managed-6" + "Transfer-Encoding": [ + "chunked" ], "X-XSS-Protection": [ "0" ], - "Server": [ - "ESF" - ], "Date": [ - "Wed, 29 Nov 2023 12:37:15 GMT" + "Thu, 30 Nov 2023 14:41:56 GMT" ], - "Transfer-Encoding": [ - "chunked" + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "X-Content-Type-Options": [ "nosniff" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "content-length": [ "169" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1kuxZpYCw5bX3Om1qFNyNCHmYLaISemicf6GJkKZUojc\",\n \"updatedRange\": \"Sheet1!A1:D4\",\n \"updatedRows\": 4,\n \"updatedColumns\": 4,\n \"updatedCells\": 16\n}\n" + "string": "{\n \"spreadsheetId\": \"1xL6b24GxqacAld6VSjXkxKNY7pbu4RXfL7jUoTpDs1o\",\n \"updatedRange\": \"Sheet1!A1:D4\",\n \"updatedRows\": 4,\n \"updatedColumns\": 4,\n \"updatedCells\": 16\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1kuxZpYCw5bX3Om1qFNyNCHmYLaISemicf6GJkKZUojc/values/%27Sheet1%27%211%3A1", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1xL6b24GxqacAld6VSjXkxKNY7pbu4RXfL7jUoTpDs1o/values/%27Sheet1%27%212%3A4", "body": null, "headers": { "User-Agent": [ @@ -563,54 +563,54 @@ "message": "OK" }, "headers": { - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], - "Cache-Control": [ - "private" + "X-Frame-Options": [ + "SAMEORIGIN" ], - "x-l2-request-path": [ - "l2-managed-6" + "Transfer-Encoding": [ + "chunked" ], "X-XSS-Protection": [ "0" ], - "Server": [ - "ESF" - ], "Date": [ - "Wed, 29 Nov 2023 12:37:16 GMT" + "Thu, 30 Nov 2023 14:41:57 GMT" ], - "Transfer-Encoding": [ - "chunked" + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "X-Content-Type-Options": [ "nosniff" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "content-length": [ - "114" + "233" ] }, "body": { - "string": "{\n \"range\": \"Sheet1!A1:D1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"faff\"\n ]\n ]\n}\n" + "string": "{\n \"range\": \"Sheet1!A2:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"c\",\n \"d\",\n \"e\",\n \"f\"\n ],\n [\n \"g\",\n \"h\",\n \"i\",\n \"j\"\n ],\n [\n \"k\",\n \"l\",\n \"m\"\n ]\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1kuxZpYCw5bX3Om1qFNyNCHmYLaISemicf6GJkKZUojc/values/%27Sheet1%27%212%3A4", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1xL6b24GxqacAld6VSjXkxKNY7pbu4RXfL7jUoTpDs1o/values/%27Sheet1%27%211%3A1", "body": null, "headers": { "User-Agent": [ @@ -636,54 +636,54 @@ "message": "OK" }, "headers": { - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], - "Cache-Control": [ - "private" + "X-Frame-Options": [ + "SAMEORIGIN" ], - "x-l2-request-path": [ - "l2-managed-6" + "Transfer-Encoding": [ + "chunked" ], "X-XSS-Protection": [ "0" ], - "Server": [ - "ESF" - ], "Date": [ - "Wed, 29 Nov 2023 12:37:16 GMT" + "Thu, 30 Nov 2023 14:41:57 GMT" ], - "Transfer-Encoding": [ - "chunked" + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "X-Content-Type-Options": [ "nosniff" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "content-length": [ - "191" + "58" ] }, "body": { - "string": "{\n \"range\": \"Sheet1!A2:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"1\",\n \"b2\",\n \"1.45\"\n ],\n [],\n [\n \"A4\",\n \"0.4\",\n \"\",\n \"4\"\n ]\n ]\n}\n" + "string": "{\n \"range\": \"Sheet1!A1:D1\",\n \"majorDimension\": \"ROWS\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1kuxZpYCw5bX3Om1qFNyNCHmYLaISemicf6GJkKZUojc/values/%27Sheet1%27%211%3A1", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1xL6b24GxqacAld6VSjXkxKNY7pbu4RXfL7jUoTpDs1o/values/%27Sheet1%27%212%3A4", "body": null, "headers": { "User-Agent": [ @@ -709,54 +709,54 @@ "message": "OK" }, "headers": { - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], - "Cache-Control": [ - "private" + "X-Frame-Options": [ + "SAMEORIGIN" ], - "x-l2-request-path": [ - "l2-managed-6" + "Transfer-Encoding": [ + "chunked" ], "X-XSS-Protection": [ "0" ], - "Server": [ - "ESF" - ], "Date": [ - "Wed, 29 Nov 2023 12:37:16 GMT" + "Thu, 30 Nov 2023 14:41:58 GMT" ], - "Transfer-Encoding": [ - "chunked" + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "X-Content-Type-Options": [ "nosniff" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "content-length": [ - "114" + "233" ] }, "body": { - "string": "{\n \"range\": \"Sheet1!A1:D1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"faff\"\n ]\n ]\n}\n" + "string": "{\n \"range\": \"Sheet1!A2:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"c\",\n \"d\",\n \"e\",\n \"f\"\n ],\n [\n \"g\",\n \"h\",\n \"i\",\n \"j\"\n ],\n [\n \"k\",\n \"l\",\n \"m\"\n ]\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1kuxZpYCw5bX3Om1qFNyNCHmYLaISemicf6GJkKZUojc/values/%27Sheet1%27%212%3A4", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1xL6b24GxqacAld6VSjXkxKNY7pbu4RXfL7jUoTpDs1o/values/%27Sheet1%27%211%3A1", "body": null, "headers": { "User-Agent": [ @@ -782,54 +782,54 @@ "message": "OK" }, "headers": { - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], - "Cache-Control": [ - "private" + "X-Frame-Options": [ + "SAMEORIGIN" ], - "x-l2-request-path": [ - "l2-managed-6" + "Transfer-Encoding": [ + "chunked" ], "X-XSS-Protection": [ "0" ], - "Server": [ - "ESF" - ], "Date": [ - "Wed, 29 Nov 2023 12:37:17 GMT" + "Thu, 30 Nov 2023 14:41:58 GMT" ], - "Transfer-Encoding": [ - "chunked" + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "X-Content-Type-Options": [ "nosniff" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "content-length": [ - "191" + "58" ] }, "body": { - "string": "{\n \"range\": \"Sheet1!A2:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"1\",\n \"b2\",\n \"1.45\"\n ],\n [],\n [\n \"A4\",\n \"0.4\",\n \"\",\n \"4\"\n ]\n ]\n}\n" + "string": "{\n \"range\": \"Sheet1!A1:D1\",\n \"majorDimension\": \"ROWS\"\n}\n" } } }, { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1kuxZpYCw5bX3Om1qFNyNCHmYLaISemicf6GJkKZUojc?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1xL6b24GxqacAld6VSjXkxKNY7pbu4RXfL7jUoTpDs1o?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -858,20 +858,20 @@ "message": "No Content" }, "headers": { - "Pragma": [ - "no-cache" + "Server": [ + "ESF" ], - "Vary": [ - "Origin, X-Origin" + "X-Frame-Options": [ + "SAMEORIGIN" ], - "Content-Length": [ + "X-XSS-Protection": [ "0" ], - "Content-Type": [ - "text/html" + "Date": [ + "Thu, 30 Nov 2023 14:41:59 GMT" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" @@ -879,20 +879,20 @@ "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], - "X-XSS-Protection": [ - "0" - ], - "Server": [ - "ESF" + "Content-Type": [ + "text/html" ], - "Date": [ - "Wed, 29 Nov 2023 12:37:17 GMT" + "Content-Length": [ + "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Vary": [ + "Origin, X-Origin" ], "X-Content-Type-Options": [ "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_get_records.json b/tests/cassettes/WorksheetTest.test_get_records.json index 3bbc6a5fe..8e9c9711d 100644 --- a/tests/cassettes/WorksheetTest.test_get_records.json +++ b/tests/cassettes/WorksheetTest.test_get_records.json @@ -19,12 +19,6 @@ "Connection": [ "keep-alive" ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], "Content-Length": [ "102" ], @@ -42,55 +36,55 @@ "message": "OK" }, "headers": { - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], "Server": [ "ESF" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "X-Content-Type-Options": [ - "nosniff" - ], "Transfer-Encoding": [ "chunked" ], - "Date": [ - "Wed, 27 Sep 2023 07:21:16 GMT" - ], "X-XSS-Protection": [ "0" ], + "Date": [ + "Thu, 30 Nov 2023 14:42:01 GMT" + ], "Pragma": [ "no-cache" ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Vary": [ + "Origin, X-Origin" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "content-length": [ "189" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1h1ivrNlppUseQw8Z35Ngqg3aUHwXjT_Sff4Qe1dCiN8\",\n \"name\": \"Test WorksheetTest test_get_records\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1MJHCoDmIDB5w-OBorcLDFZOLlO5UwB2ib-vy1I6sQU0\",\n \"name\": \"Test WorksheetTest test_get_records\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1h1ivrNlppUseQw8Z35Ngqg3aUHwXjT_Sff4Qe1dCiN8?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1MJHCoDmIDB5w-OBorcLDFZOLlO5UwB2ib-vy1I6sQU0?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -105,12 +99,6 @@ "Connection": [ "keep-alive" ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], "authorization": [ "" ] @@ -122,54 +110,54 @@ "message": "OK" }, "headers": { - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], "Server": [ "ESF" ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-Content-Type-Options": [ - "nosniff" - ], "Transfer-Encoding": [ "chunked" ], + "X-XSS-Protection": [ + "0" + ], "Date": [ - "Wed, 27 Sep 2023 07:21:17 GMT" + "Thu, 30 Nov 2023 14:42:01 GMT" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" ], "x-l2-request-path": [ "l2-managed-6" ], - "X-XSS-Protection": [ - "0" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "3333" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1h1ivrNlppUseQw8Z35Ngqg3aUHwXjT_Sff4Qe1dCiN8\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_records\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1h1ivrNlppUseQw8Z35Ngqg3aUHwXjT_Sff4Qe1dCiN8/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1MJHCoDmIDB5w-OBorcLDFZOLlO5UwB2ib-vy1I6sQU0\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_records\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1MJHCoDmIDB5w-OBorcLDFZOLlO5UwB2ib-vy1I6sQU0/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1h1ivrNlppUseQw8Z35Ngqg3aUHwXjT_Sff4Qe1dCiN8?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1MJHCoDmIDB5w-OBorcLDFZOLlO5UwB2ib-vy1I6sQU0?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -184,12 +172,6 @@ "Connection": [ "keep-alive" ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], "authorization": [ "" ] @@ -201,54 +183,54 @@ "message": "OK" }, "headers": { - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], "Server": [ "ESF" ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-Content-Type-Options": [ - "nosniff" - ], "Transfer-Encoding": [ "chunked" ], + "X-XSS-Protection": [ + "0" + ], "Date": [ - "Wed, 27 Sep 2023 07:21:17 GMT" + "Thu, 30 Nov 2023 14:42:02 GMT" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" ], "x-l2-request-path": [ "l2-managed-6" ], - "X-XSS-Protection": [ - "0" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "3333" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1h1ivrNlppUseQw8Z35Ngqg3aUHwXjT_Sff4Qe1dCiN8\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_records\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1h1ivrNlppUseQw8Z35Ngqg3aUHwXjT_Sff4Qe1dCiN8/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1MJHCoDmIDB5w-OBorcLDFZOLlO5UwB2ib-vy1I6sQU0\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_records\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1MJHCoDmIDB5w-OBorcLDFZOLlO5UwB2ib-vy1I6sQU0/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1h1ivrNlppUseQw8Z35Ngqg3aUHwXjT_Sff4Qe1dCiN8/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1MJHCoDmIDB5w-OBorcLDFZOLlO5UwB2ib-vy1I6sQU0/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -263,12 +245,6 @@ "Connection": [ "keep-alive" ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], "Content-Length": [ "0" ], @@ -283,54 +259,54 @@ "message": "OK" }, "headers": { - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], "Server": [ "ESF" ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-Content-Type-Options": [ - "nosniff" - ], "Transfer-Encoding": [ "chunked" ], + "X-XSS-Protection": [ + "0" + ], "Date": [ - "Wed, 27 Sep 2023 07:21:18 GMT" + "Thu, 30 Nov 2023 14:42:03 GMT" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" ], "x-l2-request-path": [ "l2-managed-6" ], - "X-XSS-Protection": [ - "0" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "107" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1h1ivrNlppUseQw8Z35Ngqg3aUHwXjT_Sff4Qe1dCiN8\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1MJHCoDmIDB5w-OBorcLDFZOLlO5UwB2ib-vy1I6sQU0\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1h1ivrNlppUseQw8Z35Ngqg3aUHwXjT_Sff4Qe1dCiN8:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1MJHCoDmIDB5w-OBorcLDFZOLlO5UwB2ib-vy1I6sQU0:batchUpdate", "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 5, \"columnCount\": 3}}, \"fields\": \"gridProperties/rowCount,gridProperties/columnCount\"}}]}", "headers": { "User-Agent": [ @@ -345,12 +321,6 @@ "Connection": [ "keep-alive" ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], "Content-Length": [ "190" ], @@ -368,55 +338,55 @@ "message": "OK" }, "headers": { - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], "Server": [ "ESF" ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-Content-Type-Options": [ - "nosniff" - ], "Transfer-Encoding": [ "chunked" ], + "X-XSS-Protection": [ + "0" + ], "Date": [ - "Wed, 27 Sep 2023 07:21:18 GMT" + "Thu, 30 Nov 2023 14:42:03 GMT" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" ], "x-l2-request-path": [ "l2-managed-6" ], - "X-XSS-Protection": [ - "0" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "97" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1h1ivrNlppUseQw8Z35Ngqg3aUHwXjT_Sff4Qe1dCiN8\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1MJHCoDmIDB5w-OBorcLDFZOLlO5UwB2ib-vy1I6sQU0\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1h1ivrNlppUseQw8Z35Ngqg3aUHwXjT_Sff4Qe1dCiN8/values/%27Sheet1%27%21A1%3AC5", - "body": null, + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1MJHCoDmIDB5w-OBorcLDFZOLlO5UwB2ib-vy1I6sQU0/values/%27Sheet1%27%21A1%3AC5?valueInputOption=RAW", + "body": "{\"values\": [[\"A1\", \"B1\", \"C1\"], [1, 2, 3], [4, 5, 6], [7, 8, 9], [10, 11, 12]]}", "headers": { "User-Agent": [ "python-requests/2.31.0" @@ -430,11 +400,11 @@ "Connection": [ "keep-alive" ], - "x-goog-api-client": [ - "cred-type/sa" + "Content-Length": [ + "79" ], - "x-identity-trust-boundary": [ - "0" + "Content-Type": [ + "application/json" ], "authorization": [ "" @@ -447,55 +417,55 @@ "message": "OK" }, "headers": { - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], "Server": [ "ESF" ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-Content-Type-Options": [ - "nosniff" - ], "Transfer-Encoding": [ "chunked" ], + "X-XSS-Protection": [ + "0" + ], "Date": [ - "Wed, 27 Sep 2023 07:21:19 GMT" + "Thu, 30 Nov 2023 14:42:04 GMT" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" ], "x-l2-request-path": [ "l2-managed-6" ], - "X-XSS-Protection": [ - "0" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ - "58" + "169" ] }, "body": { - "string": "{\n \"range\": \"Sheet1!A1:C5\",\n \"majorDimension\": \"ROWS\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1MJHCoDmIDB5w-OBorcLDFZOLlO5UwB2ib-vy1I6sQU0\",\n \"updatedRange\": \"Sheet1!A1:C5\",\n \"updatedRows\": 5,\n \"updatedColumns\": 3,\n \"updatedCells\": 15\n}\n" } } }, { "request": { - "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1h1ivrNlppUseQw8Z35Ngqg3aUHwXjT_Sff4Qe1dCiN8/values/%27Sheet1%27%21A1%3AC5?valueInputOption=RAW", - "body": "{\"values\": [[\"A1\", \"B1\", \"C1\"], [1, 2, 3], [4, 5, 6], [7, 8, 9], [10, 11, 12]]}", + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1MJHCoDmIDB5w-OBorcLDFZOLlO5UwB2ib-vy1I6sQU0/values/%27Sheet1%27%212%3A3", + "body": null, "headers": { "User-Agent": [ "python-requests/2.31.0" @@ -509,18 +479,6 @@ "Connection": [ "keep-alive" ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "Content-Length": [ - "79" - ], - "Content-Type": [ - "application/json" - ], "authorization": [ "" ] @@ -532,54 +490,54 @@ "message": "OK" }, "headers": { - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], "Server": [ "ESF" ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-Content-Type-Options": [ - "nosniff" - ], "Transfer-Encoding": [ "chunked" ], + "X-XSS-Protection": [ + "0" + ], "Date": [ - "Wed, 27 Sep 2023 07:21:19 GMT" + "Thu, 30 Nov 2023 14:42:04 GMT" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" ], "x-l2-request-path": [ "l2-managed-6" ], - "X-XSS-Protection": [ - "0" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ - "169" + "166" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1h1ivrNlppUseQw8Z35Ngqg3aUHwXjT_Sff4Qe1dCiN8\",\n \"updatedRange\": \"Sheet1!A1:C5\",\n \"updatedRows\": 5,\n \"updatedColumns\": 3,\n \"updatedCells\": 15\n}\n" + "string": "{\n \"range\": \"Sheet1!A2:C3\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"1\",\n \"2\",\n \"3\"\n ],\n [\n \"4\",\n \"5\",\n \"6\"\n ]\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1h1ivrNlppUseQw8Z35Ngqg3aUHwXjT_Sff4Qe1dCiN8/values/%27Sheet1%27%211%3A1", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1MJHCoDmIDB5w-OBorcLDFZOLlO5UwB2ib-vy1I6sQU0/values/%27Sheet1%27%211%3A1", "body": null, "headers": { "User-Agent": [ @@ -594,12 +552,6 @@ "Connection": [ "keep-alive" ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], "authorization": [ "" ] @@ -611,40 +563,40 @@ "message": "OK" }, "headers": { - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], "Server": [ "ESF" ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-Content-Type-Options": [ - "nosniff" - ], "Transfer-Encoding": [ "chunked" ], + "X-XSS-Protection": [ + "0" + ], "Date": [ - "Wed, 27 Sep 2023 07:21:19 GMT" + "Thu, 30 Nov 2023 14:42:05 GMT" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" ], "x-l2-request-path": [ "l2-managed-6" ], - "X-XSS-Protection": [ - "0" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "124" @@ -658,7 +610,7 @@ { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1h1ivrNlppUseQw8Z35Ngqg3aUHwXjT_Sff4Qe1dCiN8/values/%27Sheet1%27%212%3A3", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1MJHCoDmIDB5w-OBorcLDFZOLlO5UwB2ib-vy1I6sQU0/values/%27Sheet1%27%213%3A5", "body": null, "headers": { "User-Agent": [ @@ -673,12 +625,6 @@ "Connection": [ "keep-alive" ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], "authorization": [ "" ] @@ -690,54 +636,54 @@ "message": "OK" }, "headers": { - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], "Server": [ "ESF" ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-Content-Type-Options": [ - "nosniff" - ], "Transfer-Encoding": [ "chunked" ], + "X-XSS-Protection": [ + "0" + ], "Date": [ - "Wed, 27 Sep 2023 07:21:20 GMT" + "Thu, 30 Nov 2023 14:42:06 GMT" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" ], "x-l2-request-path": [ "l2-managed-6" ], - "X-XSS-Protection": [ - "0" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ - "166" + "214" ] }, "body": { - "string": "{\n \"range\": \"Sheet1!A2:C3\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"1\",\n \"2\",\n \"3\"\n ],\n [\n \"4\",\n \"5\",\n \"6\"\n ]\n ]\n}\n" + "string": "{\n \"range\": \"Sheet1!A3:C5\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"4\",\n \"5\",\n \"6\"\n ],\n [\n \"7\",\n \"8\",\n \"9\"\n ],\n [\n \"10\",\n \"11\",\n \"12\"\n ]\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1h1ivrNlppUseQw8Z35Ngqg3aUHwXjT_Sff4Qe1dCiN8/values/%27Sheet1%27%211%3A1", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1MJHCoDmIDB5w-OBorcLDFZOLlO5UwB2ib-vy1I6sQU0/values/%27Sheet1%27%211%3A1", "body": null, "headers": { "User-Agent": [ @@ -752,12 +698,6 @@ "Connection": [ "keep-alive" ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], "authorization": [ "" ] @@ -769,40 +709,40 @@ "message": "OK" }, "headers": { - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], "Server": [ "ESF" ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-Content-Type-Options": [ - "nosniff" - ], "Transfer-Encoding": [ "chunked" ], + "X-XSS-Protection": [ + "0" + ], "Date": [ - "Wed, 27 Sep 2023 07:21:20 GMT" + "Thu, 30 Nov 2023 14:42:06 GMT" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" ], "x-l2-request-path": [ "l2-managed-6" ], - "X-XSS-Protection": [ - "0" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "124" @@ -816,7 +756,7 @@ { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1h1ivrNlppUseQw8Z35Ngqg3aUHwXjT_Sff4Qe1dCiN8/values/%27Sheet1%27%213%3A5", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1MJHCoDmIDB5w-OBorcLDFZOLlO5UwB2ib-vy1I6sQU0/values/%27Sheet1%27%213%3A4", "body": null, "headers": { "User-Agent": [ @@ -831,12 +771,6 @@ "Connection": [ "keep-alive" ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], "authorization": [ "" ] @@ -848,54 +782,54 @@ "message": "OK" }, "headers": { - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], "Server": [ "ESF" ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-Content-Type-Options": [ - "nosniff" - ], "Transfer-Encoding": [ "chunked" ], + "X-XSS-Protection": [ + "0" + ], "Date": [ - "Wed, 27 Sep 2023 07:21:20 GMT" + "Thu, 30 Nov 2023 14:42:07 GMT" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" ], "x-l2-request-path": [ "l2-managed-6" ], - "X-XSS-Protection": [ - "0" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ - "214" + "166" ] }, "body": { - "string": "{\n \"range\": \"Sheet1!A3:C5\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"4\",\n \"5\",\n \"6\"\n ],\n [\n \"7\",\n \"8\",\n \"9\"\n ],\n [\n \"10\",\n \"11\",\n \"12\"\n ]\n ]\n}\n" + "string": "{\n \"range\": \"Sheet1!A3:C4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"4\",\n \"5\",\n \"6\"\n ],\n [\n \"7\",\n \"8\",\n \"9\"\n ]\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1h1ivrNlppUseQw8Z35Ngqg3aUHwXjT_Sff4Qe1dCiN8/values/%27Sheet1%27%211%3A1", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1MJHCoDmIDB5w-OBorcLDFZOLlO5UwB2ib-vy1I6sQU0/values/%27Sheet1%27%211%3A1", "body": null, "headers": { "User-Agent": [ @@ -910,12 +844,6 @@ "Connection": [ "keep-alive" ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], "authorization": [ "" ] @@ -927,40 +855,40 @@ "message": "OK" }, "headers": { - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], "Server": [ "ESF" ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-Content-Type-Options": [ - "nosniff" - ], "Transfer-Encoding": [ "chunked" ], + "X-XSS-Protection": [ + "0" + ], "Date": [ - "Wed, 27 Sep 2023 07:21:21 GMT" + "Thu, 30 Nov 2023 14:42:07 GMT" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" ], "x-l2-request-path": [ "l2-managed-6" ], - "X-XSS-Protection": [ - "0" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "124" @@ -974,7 +902,7 @@ { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1h1ivrNlppUseQw8Z35Ngqg3aUHwXjT_Sff4Qe1dCiN8/values/%27Sheet1%27%213%3A4", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1MJHCoDmIDB5w-OBorcLDFZOLlO5UwB2ib-vy1I6sQU0/values/%27Sheet1%27%213%3A3", "body": null, "headers": { "User-Agent": [ @@ -989,12 +917,6 @@ "Connection": [ "keep-alive" ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], "authorization": [ "" ] @@ -1006,54 +928,54 @@ "message": "OK" }, "headers": { - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], "Server": [ "ESF" ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-Content-Type-Options": [ - "nosniff" - ], "Transfer-Encoding": [ "chunked" ], + "X-XSS-Protection": [ + "0" + ], "Date": [ - "Wed, 27 Sep 2023 07:21:21 GMT" + "Thu, 30 Nov 2023 14:42:08 GMT" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" ], "x-l2-request-path": [ "l2-managed-6" ], - "X-XSS-Protection": [ - "0" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ - "166" + "121" ] }, "body": { - "string": "{\n \"range\": \"Sheet1!A3:C4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"4\",\n \"5\",\n \"6\"\n ],\n [\n \"7\",\n \"8\",\n \"9\"\n ]\n ]\n}\n" + "string": "{\n \"range\": \"Sheet1!A3:C3\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"4\",\n \"5\",\n \"6\"\n ]\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1h1ivrNlppUseQw8Z35Ngqg3aUHwXjT_Sff4Qe1dCiN8/values/%27Sheet1%27%211%3A1", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1MJHCoDmIDB5w-OBorcLDFZOLlO5UwB2ib-vy1I6sQU0/values/%27Sheet1%27%211%3A1", "body": null, "headers": { "User-Agent": [ @@ -1068,12 +990,6 @@ "Connection": [ "keep-alive" ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], "authorization": [ "" ] @@ -1085,40 +1001,40 @@ "message": "OK" }, "headers": { - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], "Server": [ "ESF" ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-Content-Type-Options": [ - "nosniff" - ], "Transfer-Encoding": [ "chunked" ], + "X-XSS-Protection": [ + "0" + ], "Date": [ - "Wed, 27 Sep 2023 07:21:22 GMT" + "Thu, 30 Nov 2023 14:42:08 GMT" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" ], "x-l2-request-path": [ "l2-managed-6" ], - "X-XSS-Protection": [ - "0" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "124" @@ -1132,7 +1048,7 @@ { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1h1ivrNlppUseQw8Z35Ngqg3aUHwXjT_Sff4Qe1dCiN8/values/%27Sheet1%27%213%3A3", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1MJHCoDmIDB5w-OBorcLDFZOLlO5UwB2ib-vy1I6sQU0/values/%27Sheet1%27%213%3A5?valueRenderOption=UNFORMATTED_VALUE", "body": null, "headers": { "User-Agent": [ @@ -1147,12 +1063,6 @@ "Connection": [ "keep-alive" ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], "authorization": [ "" ] @@ -1164,133 +1074,54 @@ "message": "OK" }, "headers": { - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], "Server": [ "ESF" ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-Content-Type-Options": [ - "nosniff" - ], "Transfer-Encoding": [ "chunked" ], - "Date": [ - "Wed, 27 Sep 2023 07:21:22 GMT" - ], - "x-l2-request-path": [ - "l2-managed-6" - ], "X-XSS-Protection": [ "0" ], + "Date": [ + "Thu, 30 Nov 2023 14:42:09 GMT" + ], "Cache-Control": [ "private" ], - "content-length": [ - "121" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A3:C3\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"4\",\n \"5\",\n \"6\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1h1ivrNlppUseQw8Z35Ngqg3aUHwXjT_Sff4Qe1dCiN8/values/%27Sheet1%27%212%3A2?valueRenderOption=UNFORMATTED_VALUE", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" + "Content-Type": [ + "application/json; charset=UTF-8" ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], "X-Content-Type-Options": [ "nosniff" ], - "Transfer-Encoding": [ - "chunked" - ], - "Date": [ - "Wed, 27 Sep 2023 07:21:23 GMT" - ], - "x-l2-request-path": [ - "l2-managed-6" - ], - "X-XSS-Protection": [ - "0" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ - "115" + "196" ] }, "body": { - "string": "{\n \"range\": \"Sheet1!A2:C2\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n 1,\n 2,\n 3\n ]\n ]\n}\n" + "string": "{\n \"range\": \"Sheet1!A3:C5\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n 4,\n 5,\n 6\n ],\n [\n 7,\n 8,\n 9\n ],\n [\n 10,\n 11,\n 12\n ]\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1h1ivrNlppUseQw8Z35Ngqg3aUHwXjT_Sff4Qe1dCiN8/values/%27Sheet1%27%213%3A5?valueRenderOption=UNFORMATTED_VALUE", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1MJHCoDmIDB5w-OBorcLDFZOLlO5UwB2ib-vy1I6sQU0/values/%27Sheet1%27%212%3A2?valueRenderOption=UNFORMATTED_VALUE", "body": null, "headers": { "User-Agent": [ @@ -1305,12 +1136,6 @@ "Connection": [ "keep-alive" ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], "authorization": [ "" ] @@ -1322,54 +1147,54 @@ "message": "OK" }, "headers": { - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], "Server": [ "ESF" ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-Content-Type-Options": [ - "nosniff" - ], "Transfer-Encoding": [ "chunked" ], + "X-XSS-Protection": [ + "0" + ], "Date": [ - "Wed, 27 Sep 2023 07:21:23 GMT" + "Thu, 30 Nov 2023 14:42:09 GMT" + ], + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" ], "x-l2-request-path": [ "l2-managed-6" ], - "X-XSS-Protection": [ - "0" + "Vary": [ + "Origin", + "X-Origin", + "Referer" ], - "Cache-Control": [ - "private" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ - "196" + "115" ] }, "body": { - "string": "{\n \"range\": \"Sheet1!A3:C5\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n 4,\n 5,\n 6\n ],\n [\n 7,\n 8,\n 9\n ],\n [\n 10,\n 11,\n 12\n ]\n ]\n}\n" + "string": "{\n \"range\": \"Sheet1!A2:C2\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n 1,\n 2,\n 3\n ]\n ]\n}\n" } } }, { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1h1ivrNlppUseQw8Z35Ngqg3aUHwXjT_Sff4Qe1dCiN8?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1MJHCoDmIDB5w-OBorcLDFZOLlO5UwB2ib-vy1I6sQU0?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -1384,12 +1209,6 @@ "Connection": [ "keep-alive" ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], "Content-Length": [ "0" ], @@ -1404,41 +1223,41 @@ "message": "No Content" }, "headers": { - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], - "Vary": [ - "Origin, X-Origin" + "X-Frame-Options": [ + "SAMEORIGIN" ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "X-XSS-Protection": [ + "0" ], - "Server": [ - "ESF" + "Date": [ + "Thu, 30 Nov 2023 14:42:10 GMT" + ], + "Pragma": [ + "no-cache" ], "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], "Content-Type": [ "text/html" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Wed, 27 Sep 2023 07:21:23 GMT" - ], "Content-Length": [ "0" ], - "X-XSS-Protection": [ - "0" + "Vary": [ + "Origin, X-Origin" ], - "Pragma": [ - "no-cache" + "X-Content-Type-Options": [ + "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_get_records_pad_more_than_one_key.json b/tests/cassettes/WorksheetTest.test_get_records_pad_more_than_one_key.json index e59c208d3..bac33ed72 100644 --- a/tests/cassettes/WorksheetTest.test_get_records_pad_more_than_one_key.json +++ b/tests/cassettes/WorksheetTest.test_get_records_pad_more_than_one_key.json @@ -19,12 +19,6 @@ "Connection": [ "keep-alive" ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], "Content-Length": [ "124" ], @@ -42,18 +36,27 @@ "message": "OK" }, "headers": { - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 30 Nov 2023 14:42:13 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], @@ -63,34 +66,25 @@ "Vary": [ "Origin, X-Origin" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" + "X-Content-Type-Options": [ + "nosniff" ], - "Date": [ - "Sun, 24 Sep 2023 06:00:33 GMT" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "211" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1HJEW0xaS3B4OaZ6ortFkBwmPp8d_qJI8kS4LOcTM7q4\",\n \"name\": \"Test WorksheetTest test_get_records_pad_more_than_one_key\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1LfqLmKadgwVUVdCj31nwKUO_nUL46AAlUz-Aar71qRY\",\n \"name\": \"Test WorksheetTest test_get_records_pad_more_than_one_key\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1HJEW0xaS3B4OaZ6ortFkBwmPp8d_qJI8kS4LOcTM7q4?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1LfqLmKadgwVUVdCj31nwKUO_nUL46AAlUz-Aar71qRY?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -105,12 +99,6 @@ "Connection": [ "keep-alive" ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], "authorization": [ "" ] @@ -122,54 +110,54 @@ "message": "OK" }, "headers": { - "X-Content-Type-Options": [ - "nosniff" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 30 Nov 2023 14:42:14 GMT" + ], "Cache-Control": [ "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], + "x-l2-request-path": [ + "l2-managed-6" + ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-XSS-Protection": [ - "0" - ], - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Content-Type-Options": [ + "nosniff" ], - "Date": [ - "Sun, 24 Sep 2023 06:00:34 GMT" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "3355" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1HJEW0xaS3B4OaZ6ortFkBwmPp8d_qJI8kS4LOcTM7q4\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_records_pad_more_than_one_key\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1HJEW0xaS3B4OaZ6ortFkBwmPp8d_qJI8kS4LOcTM7q4/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1LfqLmKadgwVUVdCj31nwKUO_nUL46AAlUz-Aar71qRY\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_records_pad_more_than_one_key\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1LfqLmKadgwVUVdCj31nwKUO_nUL46AAlUz-Aar71qRY/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1HJEW0xaS3B4OaZ6ortFkBwmPp8d_qJI8kS4LOcTM7q4?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1LfqLmKadgwVUVdCj31nwKUO_nUL46AAlUz-Aar71qRY?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -184,12 +172,6 @@ "Connection": [ "keep-alive" ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], "authorization": [ "" ] @@ -201,54 +183,54 @@ "message": "OK" }, "headers": { - "X-Content-Type-Options": [ - "nosniff" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 30 Nov 2023 14:42:14 GMT" + ], "Cache-Control": [ "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], + "x-l2-request-path": [ + "l2-managed-6" + ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-XSS-Protection": [ - "0" - ], - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Content-Type-Options": [ + "nosniff" ], - "Date": [ - "Sun, 24 Sep 2023 06:00:34 GMT" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "3355" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1HJEW0xaS3B4OaZ6ortFkBwmPp8d_qJI8kS4LOcTM7q4\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_records_pad_more_than_one_key\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1HJEW0xaS3B4OaZ6ortFkBwmPp8d_qJI8kS4LOcTM7q4/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1LfqLmKadgwVUVdCj31nwKUO_nUL46AAlUz-Aar71qRY\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_records_pad_more_than_one_key\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1LfqLmKadgwVUVdCj31nwKUO_nUL46AAlUz-Aar71qRY/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1HJEW0xaS3B4OaZ6ortFkBwmPp8d_qJI8kS4LOcTM7q4/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1LfqLmKadgwVUVdCj31nwKUO_nUL46AAlUz-Aar71qRY/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -263,12 +245,6 @@ "Connection": [ "keep-alive" ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], "Content-Length": [ "0" ], @@ -283,54 +259,54 @@ "message": "OK" }, "headers": { - "X-Content-Type-Options": [ - "nosniff" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 30 Nov 2023 14:42:15 GMT" + ], "Cache-Control": [ "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], + "x-l2-request-path": [ + "l2-managed-6" + ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-XSS-Protection": [ - "0" - ], - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Content-Type-Options": [ + "nosniff" ], - "Date": [ - "Sun, 24 Sep 2023 06:00:35 GMT" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "107" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1HJEW0xaS3B4OaZ6ortFkBwmPp8d_qJI8kS4LOcTM7q4\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1LfqLmKadgwVUVdCj31nwKUO_nUL46AAlUz-Aar71qRY\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1HJEW0xaS3B4OaZ6ortFkBwmPp8d_qJI8kS4LOcTM7q4:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1LfqLmKadgwVUVdCj31nwKUO_nUL46AAlUz-Aar71qRY:batchUpdate", "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 2, \"columnCount\": 4}}, \"fields\": \"gridProperties/rowCount,gridProperties/columnCount\"}}]}", "headers": { "User-Agent": [ @@ -345,12 +321,6 @@ "Connection": [ "keep-alive" ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], "Content-Length": [ "190" ], @@ -368,55 +338,55 @@ "message": "OK" }, "headers": { - "X-Content-Type-Options": [ - "nosniff" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 30 Nov 2023 14:42:15 GMT" + ], "Cache-Control": [ "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], + "x-l2-request-path": [ + "l2-managed-6" + ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-XSS-Protection": [ - "0" - ], - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Content-Type-Options": [ + "nosniff" ], - "Date": [ - "Sun, 24 Sep 2023 06:00:35 GMT" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "97" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1HJEW0xaS3B4OaZ6ortFkBwmPp8d_qJI8kS4LOcTM7q4\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1LfqLmKadgwVUVdCj31nwKUO_nUL46AAlUz-Aar71qRY\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1HJEW0xaS3B4OaZ6ortFkBwmPp8d_qJI8kS4LOcTM7q4/values/%27Sheet1%27%21A1%3AB1", - "body": null, + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1LfqLmKadgwVUVdCj31nwKUO_nUL46AAlUz-Aar71qRY/values/%27Sheet1%27%21A1%3AD2?valueInputOption=RAW", + "body": "{\"values\": [[\"A1\", \"B1\"], [1, 2, 3, 4]]}", "headers": { "User-Agent": [ "python-requests/2.31.0" @@ -430,11 +400,11 @@ "Connection": [ "keep-alive" ], - "x-goog-api-client": [ - "cred-type/sa" + "Content-Length": [ + "40" ], - "x-identity-trust-boundary": [ - "0" + "Content-Type": [ + "application/json" ], "authorization": [ "" @@ -447,55 +417,55 @@ "message": "OK" }, "headers": { - "X-Content-Type-Options": [ - "nosniff" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 30 Nov 2023 14:42:16 GMT" + ], "Cache-Control": [ "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], + "x-l2-request-path": [ + "l2-managed-6" + ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-XSS-Protection": [ - "0" - ], - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Content-Type-Options": [ + "nosniff" ], - "Date": [ - "Sun, 24 Sep 2023 06:00:35 GMT" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ - "58" + "168" ] }, "body": { - "string": "{\n \"range\": \"Sheet1!A1:B1\",\n \"majorDimension\": \"ROWS\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1LfqLmKadgwVUVdCj31nwKUO_nUL46AAlUz-Aar71qRY\",\n \"updatedRange\": \"Sheet1!A1:D2\",\n \"updatedRows\": 2,\n \"updatedColumns\": 4,\n \"updatedCells\": 6\n}\n" } } }, { "request": { - "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1HJEW0xaS3B4OaZ6ortFkBwmPp8d_qJI8kS4LOcTM7q4/values/%27Sheet1%27%21A1%3AB1?valueInputOption=RAW", - "body": "{\"values\": [[\"A1\", \"B1\"]]}", + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1LfqLmKadgwVUVdCj31nwKUO_nUL46AAlUz-Aar71qRY/values/%27Sheet1%27%212%3A2", + "body": null, "headers": { "User-Agent": [ "python-requests/2.31.0" @@ -509,18 +479,6 @@ "Connection": [ "keep-alive" ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "Content-Length": [ - "26" - ], - "Content-Type": [ - "application/json" - ], "authorization": [ "" ] @@ -532,54 +490,54 @@ "message": "OK" }, "headers": { - "X-Content-Type-Options": [ - "nosniff" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 30 Nov 2023 14:42:16 GMT" + ], "Cache-Control": [ "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], + "x-l2-request-path": [ + "l2-managed-6" + ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-XSS-Protection": [ - "0" + "X-Content-Type-Options": [ + "nosniff" ], - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "x-l2-request-path": [ - "l2-managed-6" - ], - "Date": [ - "Sun, 24 Sep 2023 06:00:36 GMT" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ - "168" + "132" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1HJEW0xaS3B4OaZ6ortFkBwmPp8d_qJI8kS4LOcTM7q4\",\n \"updatedRange\": \"Sheet1!A1:B1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 2,\n \"updatedCells\": 2\n}\n" + "string": "{\n \"range\": \"Sheet1!A2:D2\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"1\",\n \"2\",\n \"3\",\n \"4\"\n ]\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1HJEW0xaS3B4OaZ6ortFkBwmPp8d_qJI8kS4LOcTM7q4/values/%27Sheet1%27%21A2%3AD2", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1LfqLmKadgwVUVdCj31nwKUO_nUL46AAlUz-Aar71qRY/values/%27Sheet1%27%211%3A1", "body": null, "headers": { "User-Agent": [ @@ -594,12 +552,6 @@ "Connection": [ "keep-alive" ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], "authorization": [ "" ] @@ -611,178 +563,20 @@ "message": "OK" }, "headers": { - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Cache-Control": [ - "private" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "X-XSS-Protection": [ - "0" - ], "Server": [ "ESF" ], "X-Frame-Options": [ "SAMEORIGIN" ], - "x-l2-request-path": [ - "l2-managed-6" - ], - "Date": [ - "Sun, 24 Sep 2023 06:00:36 GMT" - ], - "content-length": [ - "58" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A2:D2\",\n \"majorDimension\": \"ROWS\"\n}\n" - } - } - }, - { - "request": { - "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1HJEW0xaS3B4OaZ6ortFkBwmPp8d_qJI8kS4LOcTM7q4/values/%27Sheet1%27%21A2%3AD2?valueInputOption=RAW", - "body": "{\"values\": [[1, 2, 3, 4]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "Content-Length": [ - "26" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], "Transfer-Encoding": [ "chunked" ], - "Cache-Control": [ - "private" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], "X-XSS-Protection": [ "0" ], - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "x-l2-request-path": [ - "l2-managed-6" - ], "Date": [ - "Sun, 24 Sep 2023 06:00:36 GMT" - ], - "content-length": [ - "168" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1HJEW0xaS3B4OaZ6ortFkBwmPp8d_qJI8kS4LOcTM7q4\",\n \"updatedRange\": \"Sheet1!A2:D2\",\n \"updatedRows\": 1,\n \"updatedColumns\": 4,\n \"updatedCells\": 4\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1HJEW0xaS3B4OaZ6ortFkBwmPp8d_qJI8kS4LOcTM7q4/values/%27Sheet1%27%211%3A1", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Transfer-Encoding": [ - "chunked" + "Thu, 30 Nov 2023 14:42:17 GMT" ], "Cache-Control": [ "private" @@ -790,25 +584,19 @@ "Content-Type": [ "application/json; charset=UTF-8" ], + "x-l2-request-path": [ + "l2-managed-6" + ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-XSS-Protection": [ - "0" - ], - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Content-Type-Options": [ + "nosniff" ], - "Date": [ - "Sun, 24 Sep 2023 06:00:37 GMT" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "112" @@ -821,8 +609,8 @@ }, { "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1HJEW0xaS3B4OaZ6ortFkBwmPp8d_qJI8kS4LOcTM7q4/values/%27Sheet1%27%212%3A2", + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1LfqLmKadgwVUVdCj31nwKUO_nUL46AAlUz-Aar71qRY?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -837,10 +625,7 @@ "Connection": [ "keep-alive" ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ + "Content-Length": [ "0" ], "authorization": [ @@ -850,100 +635,27 @@ }, "response": { "status": { - "code": 200, - "message": "OK" + "code": 204, + "message": "No Content" }, "headers": { - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Cache-Control": [ - "private" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "X-XSS-Protection": [ - "0" - ], "Server": [ "ESF" ], "X-Frame-Options": [ "SAMEORIGIN" ], - "x-l2-request-path": [ - "l2-managed-6" - ], - "Date": [ - "Sun, 24 Sep 2023 06:00:37 GMT" - ], - "content-length": [ - "132" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A2:D2\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"1\",\n \"2\",\n \"3\",\n \"4\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1HJEW0xaS3B4OaZ6ortFkBwmPp8d_qJI8kS4LOcTM7q4?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ + "X-XSS-Protection": [ "0" ], - "Content-Length": [ - "0" + "Date": [ + "Thu, 30 Nov 2023 14:42:18 GMT" ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" @@ -951,26 +663,17 @@ "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" - ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Server": [ - "ESF" - ], "Content-Length": [ "0" ], - "X-XSS-Protection": [ - "0" + "Vary": [ + "Origin, X-Origin" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "X-Content-Type-Options": [ + "nosniff" ], - "Date": [ - "Sun, 24 Sep 2023 06:00:38 GMT" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_get_records_pad_one_key.json b/tests/cassettes/WorksheetTest.test_get_records_pad_one_key.json index f6da6fa2c..aa111124e 100644 --- a/tests/cassettes/WorksheetTest.test_get_records_pad_one_key.json +++ b/tests/cassettes/WorksheetTest.test_get_records_pad_one_key.json @@ -19,12 +19,6 @@ "Connection": [ "keep-alive" ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], "Content-Length": [ "114" ], @@ -42,18 +36,27 @@ "message": "OK" }, "headers": { - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 30 Nov 2023 14:42:20 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], @@ -63,34 +66,25 @@ "Vary": [ "Origin, X-Origin" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" + "X-Content-Type-Options": [ + "nosniff" ], - "Date": [ - "Sun, 24 Sep 2023 06:00:40 GMT" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "201" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1ULsa241sCHew0gT6XcXt721j6gUmaLp3qie5wA5NpNE\",\n \"name\": \"Test WorksheetTest test_get_records_pad_one_key\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1M_AYyaodm6uBwwYWjhzq_5RJbsgdHhEIkxZ-ae7WUyQ\",\n \"name\": \"Test WorksheetTest test_get_records_pad_one_key\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ULsa241sCHew0gT6XcXt721j6gUmaLp3qie5wA5NpNE?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1M_AYyaodm6uBwwYWjhzq_5RJbsgdHhEIkxZ-ae7WUyQ?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -105,12 +99,6 @@ "Connection": [ "keep-alive" ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], "authorization": [ "" ] @@ -122,54 +110,54 @@ "message": "OK" }, "headers": { - "X-Content-Type-Options": [ - "nosniff" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 30 Nov 2023 14:42:21 GMT" + ], "Cache-Control": [ "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], + "x-l2-request-path": [ + "l2-managed-6" + ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-XSS-Protection": [ - "0" - ], - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Content-Type-Options": [ + "nosniff" ], - "Date": [ - "Sun, 24 Sep 2023 06:00:41 GMT" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "3345" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1ULsa241sCHew0gT6XcXt721j6gUmaLp3qie5wA5NpNE\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_records_pad_one_key\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1ULsa241sCHew0gT6XcXt721j6gUmaLp3qie5wA5NpNE/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1M_AYyaodm6uBwwYWjhzq_5RJbsgdHhEIkxZ-ae7WUyQ\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_records_pad_one_key\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1M_AYyaodm6uBwwYWjhzq_5RJbsgdHhEIkxZ-ae7WUyQ/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ULsa241sCHew0gT6XcXt721j6gUmaLp3qie5wA5NpNE?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1M_AYyaodm6uBwwYWjhzq_5RJbsgdHhEIkxZ-ae7WUyQ?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -184,12 +172,6 @@ "Connection": [ "keep-alive" ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], "authorization": [ "" ] @@ -201,54 +183,54 @@ "message": "OK" }, "headers": { - "X-Content-Type-Options": [ - "nosniff" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 30 Nov 2023 14:42:22 GMT" + ], "Cache-Control": [ "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], + "x-l2-request-path": [ + "l2-managed-6" + ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-XSS-Protection": [ - "0" - ], - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Content-Type-Options": [ + "nosniff" ], - "Date": [ - "Sun, 24 Sep 2023 06:00:41 GMT" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "3345" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1ULsa241sCHew0gT6XcXt721j6gUmaLp3qie5wA5NpNE\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_records_pad_one_key\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1ULsa241sCHew0gT6XcXt721j6gUmaLp3qie5wA5NpNE/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1M_AYyaodm6uBwwYWjhzq_5RJbsgdHhEIkxZ-ae7WUyQ\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_records_pad_one_key\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1M_AYyaodm6uBwwYWjhzq_5RJbsgdHhEIkxZ-ae7WUyQ/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ULsa241sCHew0gT6XcXt721j6gUmaLp3qie5wA5NpNE/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1M_AYyaodm6uBwwYWjhzq_5RJbsgdHhEIkxZ-ae7WUyQ/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -263,12 +245,6 @@ "Connection": [ "keep-alive" ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], "Content-Length": [ "0" ], @@ -283,54 +259,54 @@ "message": "OK" }, "headers": { - "X-Content-Type-Options": [ - "nosniff" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 30 Nov 2023 14:42:22 GMT" + ], "Cache-Control": [ "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], + "x-l2-request-path": [ + "l2-managed-6" + ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-XSS-Protection": [ - "0" - ], - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Content-Type-Options": [ + "nosniff" ], - "Date": [ - "Sun, 24 Sep 2023 06:00:42 GMT" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "107" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1ULsa241sCHew0gT6XcXt721j6gUmaLp3qie5wA5NpNE\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1M_AYyaodm6uBwwYWjhzq_5RJbsgdHhEIkxZ-ae7WUyQ\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ULsa241sCHew0gT6XcXt721j6gUmaLp3qie5wA5NpNE:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1M_AYyaodm6uBwwYWjhzq_5RJbsgdHhEIkxZ-ae7WUyQ:batchUpdate", "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 2, \"columnCount\": 4}}, \"fields\": \"gridProperties/rowCount,gridProperties/columnCount\"}}]}", "headers": { "User-Agent": [ @@ -345,12 +321,6 @@ "Connection": [ "keep-alive" ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], "Content-Length": [ "190" ], @@ -368,55 +338,55 @@ "message": "OK" }, "headers": { - "X-Content-Type-Options": [ - "nosniff" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 30 Nov 2023 14:42:23 GMT" + ], "Cache-Control": [ "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], + "x-l2-request-path": [ + "l2-managed-6" + ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-XSS-Protection": [ - "0" - ], - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Content-Type-Options": [ + "nosniff" ], - "Date": [ - "Sun, 24 Sep 2023 06:01:29 GMT" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "97" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1ULsa241sCHew0gT6XcXt721j6gUmaLp3qie5wA5NpNE\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1M_AYyaodm6uBwwYWjhzq_5RJbsgdHhEIkxZ-ae7WUyQ\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ULsa241sCHew0gT6XcXt721j6gUmaLp3qie5wA5NpNE/values/%27Sheet1%27%21A1%3AC1", - "body": null, + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1M_AYyaodm6uBwwYWjhzq_5RJbsgdHhEIkxZ-ae7WUyQ/values/%27Sheet1%27%21A1%3AD2?valueInputOption=RAW", + "body": "{\"values\": [[\"A1\", \"B1\", \"C1\"], [1, 2, 3, 4]]}", "headers": { "User-Agent": [ "python-requests/2.31.0" @@ -430,11 +400,11 @@ "Connection": [ "keep-alive" ], - "x-goog-api-client": [ - "cred-type/sa" + "Content-Length": [ + "46" ], - "x-identity-trust-boundary": [ - "0" + "Content-Type": [ + "application/json" ], "authorization": [ "" @@ -447,55 +417,55 @@ "message": "OK" }, "headers": { - "X-Content-Type-Options": [ - "nosniff" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 30 Nov 2023 14:42:23 GMT" + ], "Cache-Control": [ "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], + "x-l2-request-path": [ + "l2-managed-6" + ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-XSS-Protection": [ - "0" - ], - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Content-Type-Options": [ + "nosniff" ], - "Date": [ - "Sun, 24 Sep 2023 06:01:30 GMT" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ - "58" + "168" ] }, "body": { - "string": "{\n \"range\": \"Sheet1!A1:C1\",\n \"majorDimension\": \"ROWS\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1M_AYyaodm6uBwwYWjhzq_5RJbsgdHhEIkxZ-ae7WUyQ\",\n \"updatedRange\": \"Sheet1!A1:D2\",\n \"updatedRows\": 2,\n \"updatedColumns\": 4,\n \"updatedCells\": 7\n}\n" } } }, { "request": { - "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ULsa241sCHew0gT6XcXt721j6gUmaLp3qie5wA5NpNE/values/%27Sheet1%27%21A1%3AC1?valueInputOption=RAW", - "body": "{\"values\": [[\"A1\", \"B1\", \"C1\"]]}", + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1M_AYyaodm6uBwwYWjhzq_5RJbsgdHhEIkxZ-ae7WUyQ/values/%27Sheet1%27%212%3A2", + "body": null, "headers": { "User-Agent": [ "python-requests/2.31.0" @@ -509,18 +479,6 @@ "Connection": [ "keep-alive" ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "Content-Length": [ - "32" - ], - "Content-Type": [ - "application/json" - ], "authorization": [ "" ] @@ -532,54 +490,54 @@ "message": "OK" }, "headers": { - "X-Content-Type-Options": [ - "nosniff" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 30 Nov 2023 14:42:24 GMT" + ], "Cache-Control": [ "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], + "x-l2-request-path": [ + "l2-managed-6" + ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-XSS-Protection": [ - "0" + "X-Content-Type-Options": [ + "nosniff" ], - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "x-l2-request-path": [ - "l2-managed-6" - ], - "Date": [ - "Sun, 24 Sep 2023 06:01:30 GMT" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ - "168" + "132" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1ULsa241sCHew0gT6XcXt721j6gUmaLp3qie5wA5NpNE\",\n \"updatedRange\": \"Sheet1!A1:C1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 3,\n \"updatedCells\": 3\n}\n" + "string": "{\n \"range\": \"Sheet1!A2:D2\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"1\",\n \"2\",\n \"3\",\n \"4\"\n ]\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ULsa241sCHew0gT6XcXt721j6gUmaLp3qie5wA5NpNE/values/%27Sheet1%27%21A2%3AD2", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1M_AYyaodm6uBwwYWjhzq_5RJbsgdHhEIkxZ-ae7WUyQ/values/%27Sheet1%27%211%3A1", "body": null, "headers": { "User-Agent": [ @@ -594,12 +552,6 @@ "Connection": [ "keep-alive" ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], "authorization": [ "" ] @@ -611,178 +563,20 @@ "message": "OK" }, "headers": { - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Cache-Control": [ - "private" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "X-XSS-Protection": [ - "0" - ], "Server": [ "ESF" ], "X-Frame-Options": [ "SAMEORIGIN" ], - "x-l2-request-path": [ - "l2-managed-6" - ], - "Date": [ - "Sun, 24 Sep 2023 06:01:31 GMT" - ], - "content-length": [ - "58" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A2:D2\",\n \"majorDimension\": \"ROWS\"\n}\n" - } - } - }, - { - "request": { - "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ULsa241sCHew0gT6XcXt721j6gUmaLp3qie5wA5NpNE/values/%27Sheet1%27%21A2%3AD2?valueInputOption=RAW", - "body": "{\"values\": [[1, 2, 3, 4]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "Content-Length": [ - "26" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], "Transfer-Encoding": [ "chunked" ], - "Cache-Control": [ - "private" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], "X-XSS-Protection": [ "0" ], - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "x-l2-request-path": [ - "l2-managed-6" - ], "Date": [ - "Sun, 24 Sep 2023 06:01:31 GMT" - ], - "content-length": [ - "168" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1ULsa241sCHew0gT6XcXt721j6gUmaLp3qie5wA5NpNE\",\n \"updatedRange\": \"Sheet1!A2:D2\",\n \"updatedRows\": 1,\n \"updatedColumns\": 4,\n \"updatedCells\": 4\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ULsa241sCHew0gT6XcXt721j6gUmaLp3qie5wA5NpNE/values/%27Sheet1%27%211%3A1", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Transfer-Encoding": [ - "chunked" + "Thu, 30 Nov 2023 14:42:24 GMT" ], "Cache-Control": [ "private" @@ -790,25 +584,19 @@ "Content-Type": [ "application/json; charset=UTF-8" ], + "x-l2-request-path": [ + "l2-managed-6" + ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-XSS-Protection": [ - "0" - ], - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Content-Type-Options": [ + "nosniff" ], - "Date": [ - "Sun, 24 Sep 2023 06:01:33 GMT" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "124" @@ -821,8 +609,8 @@ }, { "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ULsa241sCHew0gT6XcXt721j6gUmaLp3qie5wA5NpNE/values/%27Sheet1%27%212%3A2", + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1M_AYyaodm6uBwwYWjhzq_5RJbsgdHhEIkxZ-ae7WUyQ?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -837,10 +625,7 @@ "Connection": [ "keep-alive" ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ + "Content-Length": [ "0" ], "authorization": [ @@ -850,100 +635,27 @@ }, "response": { "status": { - "code": 200, - "message": "OK" + "code": 204, + "message": "No Content" }, "headers": { - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Cache-Control": [ - "private" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "X-XSS-Protection": [ - "0" - ], "Server": [ "ESF" ], "X-Frame-Options": [ "SAMEORIGIN" ], - "x-l2-request-path": [ - "l2-managed-6" - ], - "Date": [ - "Sun, 24 Sep 2023 06:01:33 GMT" - ], - "content-length": [ - "132" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A2:D2\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"1\",\n \"2\",\n \"3\",\n \"4\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1ULsa241sCHew0gT6XcXt721j6gUmaLp3qie5wA5NpNE?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ + "X-XSS-Protection": [ "0" ], - "Content-Length": [ - "0" + "Date": [ + "Thu, 30 Nov 2023 14:42:25 GMT" ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" @@ -951,26 +663,17 @@ "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" - ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Server": [ - "ESF" - ], "Content-Length": [ "0" ], - "X-XSS-Protection": [ - "0" + "Vary": [ + "Origin, X-Origin" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "X-Content-Type-Options": [ + "nosniff" ], - "Date": [ - "Sun, 24 Sep 2023 06:01:34 GMT" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_get_records_pad_values.json b/tests/cassettes/WorksheetTest.test_get_records_pad_values.json index 7b32de49f..a69e0e53f 100644 --- a/tests/cassettes/WorksheetTest.test_get_records_pad_values.json +++ b/tests/cassettes/WorksheetTest.test_get_records_pad_values.json @@ -19,12 +19,6 @@ "Connection": [ "keep-alive" ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], "Content-Length": [ "113" ], @@ -42,18 +36,27 @@ "message": "OK" }, "headers": { - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 30 Nov 2023 14:42:29 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], @@ -63,34 +66,25 @@ "Vary": [ "Origin, X-Origin" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" + "X-Content-Type-Options": [ + "nosniff" ], - "Date": [ - "Sun, 24 Sep 2023 06:01:36 GMT" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "200" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1UHyuzDP6nImr4HUv7wigjqBg7VV1PTE6sjHzyBotXo0\",\n \"name\": \"Test WorksheetTest test_get_records_pad_values\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1cj5KuLi8V_LWRsm7Guo-1FCZa6Rhyyunn_PxEv-DU0E\",\n \"name\": \"Test WorksheetTest test_get_records_pad_values\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UHyuzDP6nImr4HUv7wigjqBg7VV1PTE6sjHzyBotXo0?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1cj5KuLi8V_LWRsm7Guo-1FCZa6Rhyyunn_PxEv-DU0E?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -105,12 +99,6 @@ "Connection": [ "keep-alive" ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], "authorization": [ "" ] @@ -122,54 +110,54 @@ "message": "OK" }, "headers": { - "X-Content-Type-Options": [ - "nosniff" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 30 Nov 2023 14:42:29 GMT" + ], "Cache-Control": [ "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], + "x-l2-request-path": [ + "l2-managed-6" + ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-XSS-Protection": [ - "0" - ], - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Content-Type-Options": [ + "nosniff" ], - "Date": [ - "Sun, 24 Sep 2023 06:01:37 GMT" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "3344" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1UHyuzDP6nImr4HUv7wigjqBg7VV1PTE6sjHzyBotXo0\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_records_pad_values\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1UHyuzDP6nImr4HUv7wigjqBg7VV1PTE6sjHzyBotXo0/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1cj5KuLi8V_LWRsm7Guo-1FCZa6Rhyyunn_PxEv-DU0E\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_records_pad_values\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1cj5KuLi8V_LWRsm7Guo-1FCZa6Rhyyunn_PxEv-DU0E/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UHyuzDP6nImr4HUv7wigjqBg7VV1PTE6sjHzyBotXo0?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1cj5KuLi8V_LWRsm7Guo-1FCZa6Rhyyunn_PxEv-DU0E?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -184,12 +172,6 @@ "Connection": [ "keep-alive" ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], "authorization": [ "" ] @@ -201,54 +183,54 @@ "message": "OK" }, "headers": { - "X-Content-Type-Options": [ - "nosniff" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 30 Nov 2023 14:42:30 GMT" + ], "Cache-Control": [ "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], + "x-l2-request-path": [ + "l2-managed-6" + ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-XSS-Protection": [ - "0" - ], - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Content-Type-Options": [ + "nosniff" ], - "Date": [ - "Sun, 24 Sep 2023 06:01:37 GMT" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "3344" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1UHyuzDP6nImr4HUv7wigjqBg7VV1PTE6sjHzyBotXo0\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_records_pad_values\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1UHyuzDP6nImr4HUv7wigjqBg7VV1PTE6sjHzyBotXo0/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1cj5KuLi8V_LWRsm7Guo-1FCZa6Rhyyunn_PxEv-DU0E\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_records_pad_values\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1cj5KuLi8V_LWRsm7Guo-1FCZa6Rhyyunn_PxEv-DU0E/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UHyuzDP6nImr4HUv7wigjqBg7VV1PTE6sjHzyBotXo0/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1cj5KuLi8V_LWRsm7Guo-1FCZa6Rhyyunn_PxEv-DU0E/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -263,12 +245,6 @@ "Connection": [ "keep-alive" ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], "Content-Length": [ "0" ], @@ -283,54 +259,54 @@ "message": "OK" }, "headers": { - "X-Content-Type-Options": [ - "nosniff" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 30 Nov 2023 14:42:30 GMT" + ], "Cache-Control": [ "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], + "x-l2-request-path": [ + "l2-managed-6" + ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-XSS-Protection": [ - "0" - ], - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Content-Type-Options": [ + "nosniff" ], - "Date": [ - "Sun, 24 Sep 2023 06:01:38 GMT" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "107" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1UHyuzDP6nImr4HUv7wigjqBg7VV1PTE6sjHzyBotXo0\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1cj5KuLi8V_LWRsm7Guo-1FCZa6Rhyyunn_PxEv-DU0E\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UHyuzDP6nImr4HUv7wigjqBg7VV1PTE6sjHzyBotXo0:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1cj5KuLi8V_LWRsm7Guo-1FCZa6Rhyyunn_PxEv-DU0E:batchUpdate", "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 2, \"columnCount\": 4}}, \"fields\": \"gridProperties/rowCount,gridProperties/columnCount\"}}]}", "headers": { "User-Agent": [ @@ -345,12 +321,6 @@ "Connection": [ "keep-alive" ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], "Content-Length": [ "190" ], @@ -368,55 +338,55 @@ "message": "OK" }, "headers": { - "X-Content-Type-Options": [ - "nosniff" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 30 Nov 2023 14:42:30 GMT" + ], "Cache-Control": [ "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], + "x-l2-request-path": [ + "l2-managed-6" + ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-XSS-Protection": [ - "0" - ], - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Content-Type-Options": [ + "nosniff" ], - "Date": [ - "Sun, 24 Sep 2023 06:01:38 GMT" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "97" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1UHyuzDP6nImr4HUv7wigjqBg7VV1PTE6sjHzyBotXo0\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1cj5KuLi8V_LWRsm7Guo-1FCZa6Rhyyunn_PxEv-DU0E\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UHyuzDP6nImr4HUv7wigjqBg7VV1PTE6sjHzyBotXo0/values/%27Sheet1%27%21A1%3AC1", - "body": null, + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1cj5KuLi8V_LWRsm7Guo-1FCZa6Rhyyunn_PxEv-DU0E/values/%27Sheet1%27%21A1%3AC2?valueInputOption=RAW", + "body": "{\"values\": [[\"A1\", \"B1\", \"C1\"], [1, 2]]}", "headers": { "User-Agent": [ "python-requests/2.31.0" @@ -430,11 +400,11 @@ "Connection": [ "keep-alive" ], - "x-goog-api-client": [ - "cred-type/sa" + "Content-Length": [ + "40" ], - "x-identity-trust-boundary": [ - "0" + "Content-Type": [ + "application/json" ], "authorization": [ "" @@ -447,55 +417,55 @@ "message": "OK" }, "headers": { - "X-Content-Type-Options": [ - "nosniff" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 30 Nov 2023 14:42:31 GMT" + ], "Cache-Control": [ "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], + "x-l2-request-path": [ + "l2-managed-6" + ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-XSS-Protection": [ - "0" - ], - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Content-Type-Options": [ + "nosniff" ], - "Date": [ - "Sun, 24 Sep 2023 06:01:38 GMT" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ - "58" + "168" ] }, "body": { - "string": "{\n \"range\": \"Sheet1!A1:C1\",\n \"majorDimension\": \"ROWS\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1cj5KuLi8V_LWRsm7Guo-1FCZa6Rhyyunn_PxEv-DU0E\",\n \"updatedRange\": \"Sheet1!A1:C2\",\n \"updatedRows\": 2,\n \"updatedColumns\": 3,\n \"updatedCells\": 5\n}\n" } } }, { "request": { - "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UHyuzDP6nImr4HUv7wigjqBg7VV1PTE6sjHzyBotXo0/values/%27Sheet1%27%21A1%3AC1?valueInputOption=RAW", - "body": "{\"values\": [[\"A1\", \"B1\", \"C1\"]]}", + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1cj5KuLi8V_LWRsm7Guo-1FCZa6Rhyyunn_PxEv-DU0E/values/%27Sheet1%27%212%3A2", + "body": null, "headers": { "User-Agent": [ "python-requests/2.31.0" @@ -509,18 +479,6 @@ "Connection": [ "keep-alive" ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "Content-Length": [ - "32" - ], - "Content-Type": [ - "application/json" - ], "authorization": [ "" ] @@ -532,54 +490,54 @@ "message": "OK" }, "headers": { - "X-Content-Type-Options": [ - "nosniff" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 30 Nov 2023 14:42:31 GMT" + ], "Cache-Control": [ "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], + "x-l2-request-path": [ + "l2-managed-6" + ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-XSS-Protection": [ - "0" + "X-Content-Type-Options": [ + "nosniff" ], - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "x-l2-request-path": [ - "l2-managed-6" - ], - "Date": [ - "Sun, 24 Sep 2023 06:01:39 GMT" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ - "168" + "110" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1UHyuzDP6nImr4HUv7wigjqBg7VV1PTE6sjHzyBotXo0\",\n \"updatedRange\": \"Sheet1!A1:C1\",\n \"updatedRows\": 1,\n \"updatedColumns\": 3,\n \"updatedCells\": 3\n}\n" + "string": "{\n \"range\": \"Sheet1!A2:D2\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"1\",\n \"2\"\n ]\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UHyuzDP6nImr4HUv7wigjqBg7VV1PTE6sjHzyBotXo0/values/%27Sheet1%27%21A2%3AB2", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1cj5KuLi8V_LWRsm7Guo-1FCZa6Rhyyunn_PxEv-DU0E/values/%27Sheet1%27%211%3A1", "body": null, "headers": { "User-Agent": [ @@ -594,12 +552,6 @@ "Connection": [ "keep-alive" ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], "authorization": [ "" ] @@ -611,178 +563,20 @@ "message": "OK" }, "headers": { - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Cache-Control": [ - "private" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "X-XSS-Protection": [ - "0" - ], "Server": [ "ESF" ], "X-Frame-Options": [ "SAMEORIGIN" ], - "x-l2-request-path": [ - "l2-managed-6" - ], - "Date": [ - "Sun, 24 Sep 2023 06:01:39 GMT" - ], - "content-length": [ - "58" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A2:B2\",\n \"majorDimension\": \"ROWS\"\n}\n" - } - } - }, - { - "request": { - "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UHyuzDP6nImr4HUv7wigjqBg7VV1PTE6sjHzyBotXo0/values/%27Sheet1%27%21A2%3AB2?valueInputOption=RAW", - "body": "{\"values\": [[1, 2]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "Content-Length": [ - "20" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], "Transfer-Encoding": [ "chunked" ], - "Cache-Control": [ - "private" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], "X-XSS-Protection": [ "0" ], - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "x-l2-request-path": [ - "l2-managed-6" - ], "Date": [ - "Sun, 24 Sep 2023 06:01:40 GMT" - ], - "content-length": [ - "168" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1UHyuzDP6nImr4HUv7wigjqBg7VV1PTE6sjHzyBotXo0\",\n \"updatedRange\": \"Sheet1!A2:B2\",\n \"updatedRows\": 1,\n \"updatedColumns\": 2,\n \"updatedCells\": 2\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UHyuzDP6nImr4HUv7wigjqBg7VV1PTE6sjHzyBotXo0/values/%27Sheet1%27%211%3A1", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Transfer-Encoding": [ - "chunked" + "Thu, 30 Nov 2023 14:42:32 GMT" ], "Cache-Control": [ "private" @@ -790,25 +584,19 @@ "Content-Type": [ "application/json; charset=UTF-8" ], + "x-l2-request-path": [ + "l2-managed-6" + ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-XSS-Protection": [ - "0" - ], - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Content-Type-Options": [ + "nosniff" ], - "Date": [ - "Sun, 24 Sep 2023 06:01:40 GMT" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "124" @@ -821,8 +609,8 @@ }, { "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1UHyuzDP6nImr4HUv7wigjqBg7VV1PTE6sjHzyBotXo0/values/%27Sheet1%27%212%3A2", + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1cj5KuLi8V_LWRsm7Guo-1FCZa6Rhyyunn_PxEv-DU0E?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -837,10 +625,7 @@ "Connection": [ "keep-alive" ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ + "Content-Length": [ "0" ], "authorization": [ @@ -850,100 +635,27 @@ }, "response": { "status": { - "code": 200, - "message": "OK" + "code": 204, + "message": "No Content" }, "headers": { - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Cache-Control": [ - "private" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "X-XSS-Protection": [ - "0" - ], "Server": [ "ESF" ], "X-Frame-Options": [ "SAMEORIGIN" ], - "x-l2-request-path": [ - "l2-managed-6" - ], - "Date": [ - "Sun, 24 Sep 2023 06:01:40 GMT" - ], - "content-length": [ - "110" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A2:D2\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"1\",\n \"2\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1UHyuzDP6nImr4HUv7wigjqBg7VV1PTE6sjHzyBotXo0?supportsAllDrives=True", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ + "X-XSS-Protection": [ "0" ], - "Content-Length": [ - "0" + "Date": [ + "Thu, 30 Nov 2023 14:42:32 GMT" ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 204, - "message": "No Content" - }, - "headers": { "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" @@ -951,26 +663,17 @@ "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" - ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Server": [ - "ESF" - ], "Content-Length": [ "0" ], - "X-XSS-Protection": [ - "0" + "Vary": [ + "Origin, X-Origin" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "X-Content-Type-Options": [ + "nosniff" ], - "Date": [ - "Sun, 24 Sep 2023 06:01:41 GMT" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_get_all_records_expected_headers.json b/tests/cassettes/WorksheetTest.test_get_records_with_all_values_blank.json similarity index 69% rename from tests/cassettes/WorksheetTest.test_get_all_records_expected_headers.json rename to tests/cassettes/WorksheetTest.test_get_records_with_all_values_blank.json index 1c11c261f..f784d0a65 100644 --- a/tests/cassettes/WorksheetTest.test_get_all_records_expected_headers.json +++ b/tests/cassettes/WorksheetTest.test_get_records_with_all_values_blank.json @@ -5,7 +5,7 @@ "request": { "method": "POST", "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_get_all_records_expected_headers\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "body": "{\"name\": \"Test WorksheetTest test_get_records_with_all_values_blank\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", "headers": { "User-Agent": [ "python-requests/2.31.0" @@ -20,7 +20,7 @@ "keep-alive" ], "Content-Length": [ - "123" + "124" ], "Content-Type": [ "application/json" @@ -36,55 +36,55 @@ "message": "OK" }, "headers": { - "Pragma": [ - "no-cache" + "Server": [ + "ESF" ], - "Vary": [ - "Origin, X-Origin" + "X-Frame-Options": [ + "SAMEORIGIN" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "Transfer-Encoding": [ + "chunked" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 30 Nov 2023 14:42:35 GMT" + ], + "Pragma": [ + "no-cache" ], "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], - "X-XSS-Protection": [ - "0" - ], - "Server": [ - "ESF" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Date": [ - "Wed, 29 Nov 2023 12:37:04 GMT" + "Content-Type": [ + "application/json; charset=UTF-8" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Vary": [ + "Origin, X-Origin" ], "X-Content-Type-Options": [ "nosniff" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "content-length": [ - "210" + "211" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1Myprvcd1uvJOan-Nb3mrGhN0mCAh4ULvq7CU1VEZK84\",\n \"name\": \"Test WorksheetTest test_get_all_records_expected_headers\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1faFC7YUvsSl-1fxWB355dcjbFay6uC3c6C8i7RqDZ78\",\n \"name\": \"Test WorksheetTest test_get_records_with_all_values_blank\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Myprvcd1uvJOan-Nb3mrGhN0mCAh4ULvq7CU1VEZK84?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1faFC7YUvsSl-1fxWB355dcjbFay6uC3c6C8i7RqDZ78?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -110,54 +110,54 @@ "message": "OK" }, "headers": { - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], - "Cache-Control": [ - "private" + "X-Frame-Options": [ + "SAMEORIGIN" ], - "x-l2-request-path": [ - "l2-managed-6" + "Transfer-Encoding": [ + "chunked" ], "X-XSS-Protection": [ "0" ], - "Server": [ - "ESF" - ], "Date": [ - "Wed, 29 Nov 2023 12:37:05 GMT" + "Thu, 30 Nov 2023 14:42:36 GMT" ], - "Transfer-Encoding": [ - "chunked" + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "X-Content-Type-Options": [ "nosniff" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "content-length": [ - "3354" + "3355" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1Myprvcd1uvJOan-Nb3mrGhN0mCAh4ULvq7CU1VEZK84\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_expected_headers\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1Myprvcd1uvJOan-Nb3mrGhN0mCAh4ULvq7CU1VEZK84/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1faFC7YUvsSl-1fxWB355dcjbFay6uC3c6C8i7RqDZ78\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_records_with_all_values_blank\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1faFC7YUvsSl-1fxWB355dcjbFay6uC3c6C8i7RqDZ78/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Myprvcd1uvJOan-Nb3mrGhN0mCAh4ULvq7CU1VEZK84?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1faFC7YUvsSl-1fxWB355dcjbFay6uC3c6C8i7RqDZ78?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -183,54 +183,54 @@ "message": "OK" }, "headers": { - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], - "Cache-Control": [ - "private" + "X-Frame-Options": [ + "SAMEORIGIN" ], - "x-l2-request-path": [ - "l2-managed-6" + "Transfer-Encoding": [ + "chunked" ], "X-XSS-Protection": [ "0" ], - "Server": [ - "ESF" - ], "Date": [ - "Wed, 29 Nov 2023 12:37:05 GMT" + "Thu, 30 Nov 2023 14:42:36 GMT" ], - "Transfer-Encoding": [ - "chunked" + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "X-Content-Type-Options": [ "nosniff" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "content-length": [ - "3354" + "3355" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1Myprvcd1uvJOan-Nb3mrGhN0mCAh4ULvq7CU1VEZK84\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_expected_headers\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1Myprvcd1uvJOan-Nb3mrGhN0mCAh4ULvq7CU1VEZK84/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1faFC7YUvsSl-1fxWB355dcjbFay6uC3c6C8i7RqDZ78\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_records_with_all_values_blank\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1faFC7YUvsSl-1fxWB355dcjbFay6uC3c6C8i7RqDZ78/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Myprvcd1uvJOan-Nb3mrGhN0mCAh4ULvq7CU1VEZK84/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1faFC7YUvsSl-1fxWB355dcjbFay6uC3c6C8i7RqDZ78/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -259,54 +259,54 @@ "message": "OK" }, "headers": { - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], - "Cache-Control": [ - "private" + "X-Frame-Options": [ + "SAMEORIGIN" ], - "x-l2-request-path": [ - "l2-managed-6" + "Transfer-Encoding": [ + "chunked" ], "X-XSS-Protection": [ "0" ], - "Server": [ - "ESF" - ], "Date": [ - "Wed, 29 Nov 2023 12:37:05 GMT" + "Thu, 30 Nov 2023 14:42:36 GMT" ], - "Transfer-Encoding": [ - "chunked" + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "X-Content-Type-Options": [ "nosniff" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "content-length": [ "107" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1Myprvcd1uvJOan-Nb3mrGhN0mCAh4ULvq7CU1VEZK84\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1faFC7YUvsSl-1fxWB355dcjbFay6uC3c6C8i7RqDZ78\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Myprvcd1uvJOan-Nb3mrGhN0mCAh4ULvq7CU1VEZK84:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1faFC7YUvsSl-1fxWB355dcjbFay6uC3c6C8i7RqDZ78:batchUpdate", "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 4, \"columnCount\": 4}}, \"fields\": \"gridProperties/rowCount,gridProperties/columnCount\"}}]}", "headers": { "User-Agent": [ @@ -338,128 +338,55 @@ "message": "OK" }, "headers": { - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], - "x-l2-request-path": [ - "l2-managed-6" - ], - "X-XSS-Protection": [ - "0" - ], "Server": [ "ESF" ], - "Date": [ - "Wed, 29 Nov 2023 12:37:06 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], "X-Frame-Options": [ "SAMEORIGIN" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1Myprvcd1uvJOan-Nb3mrGhN0mCAh4ULvq7CU1VEZK84\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Myprvcd1uvJOan-Nb3mrGhN0mCAh4ULvq7CU1VEZK84/values/%27Sheet1%27%21A1%3AD4", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" + "Transfer-Encoding": [ + "chunked" ], - "Accept-Encoding": [ - "gzip, deflate" + "X-XSS-Protection": [ + "0" ], - "Accept": [ - "*/*" + "Date": [ + "Thu, 30 Nov 2023 14:42:37 GMT" ], - "Connection": [ - "keep-alive" + "Cache-Control": [ + "private" ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { "Content-Type": [ "application/json; charset=UTF-8" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Cache-Control": [ - "private" - ], "x-l2-request-path": [ "l2-managed-6" ], - "X-XSS-Protection": [ - "0" - ], - "Server": [ - "ESF" - ], - "Date": [ - "Wed, 29 Nov 2023 12:37:06 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "X-Content-Type-Options": [ "nosniff" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "content-length": [ - "58" + "97" ] }, "body": { - "string": "{\n \"range\": \"Sheet1!A1:D4\",\n \"majorDimension\": \"ROWS\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1faFC7YUvsSl-1fxWB355dcjbFay6uC3c6C8i7RqDZ78\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Myprvcd1uvJOan-Nb3mrGhN0mCAh4ULvq7CU1VEZK84/values/%27Sheet1%27%21A1%3AD4?valueInputOption=RAW", - "body": "{\"values\": [[\"A1\", \"faff\", \"C3\", \"faff\"], [1, \"b2\", 1.45, \"\"], [\"\", \"\", \"\", \"\"], [\"A4\", 0.4, \"\", 4]]}", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1faFC7YUvsSl-1fxWB355dcjbFay6uC3c6C8i7RqDZ78/values/%27Sheet1%27%21A1%3AD4?valueInputOption=RAW", + "body": "{\"values\": [[\"a\", \"b\", \"c\", \"d\"], [\"\", \"\", \"\", \"\"], [\"\", \"\", \"\", \"\"], [\"\", \"\", \"\", \"\"]]}", "headers": { "User-Agent": [ "python-requests/2.31.0" @@ -474,7 +401,7 @@ "keep-alive" ], "Content-Length": [ - "101" + "88" ], "Content-Type": [ "application/json" @@ -490,54 +417,54 @@ "message": "OK" }, "headers": { - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], - "Cache-Control": [ - "private" + "X-Frame-Options": [ + "SAMEORIGIN" ], - "x-l2-request-path": [ - "l2-managed-6" + "Transfer-Encoding": [ + "chunked" ], "X-XSS-Protection": [ "0" ], - "Server": [ - "ESF" - ], "Date": [ - "Wed, 29 Nov 2023 12:37:06 GMT" + "Thu, 30 Nov 2023 14:42:37 GMT" ], - "Transfer-Encoding": [ - "chunked" + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "X-Content-Type-Options": [ "nosniff" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "content-length": [ "169" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1Myprvcd1uvJOan-Nb3mrGhN0mCAh4ULvq7CU1VEZK84\",\n \"updatedRange\": \"Sheet1!A1:D4\",\n \"updatedRows\": 4,\n \"updatedColumns\": 4,\n \"updatedCells\": 16\n}\n" + "string": "{\n \"spreadsheetId\": \"1faFC7YUvsSl-1fxWB355dcjbFay6uC3c6C8i7RqDZ78\",\n \"updatedRange\": \"Sheet1!A1:D4\",\n \"updatedRows\": 4,\n \"updatedColumns\": 4,\n \"updatedCells\": 16\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Myprvcd1uvJOan-Nb3mrGhN0mCAh4ULvq7CU1VEZK84/values/%27Sheet1%27%211%3A1", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1faFC7YUvsSl-1fxWB355dcjbFay6uC3c6C8i7RqDZ78/values/%27Sheet1%27%212%3A4", "body": null, "headers": { "User-Agent": [ @@ -563,54 +490,54 @@ "message": "OK" }, "headers": { - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], - "Cache-Control": [ - "private" + "X-Frame-Options": [ + "SAMEORIGIN" ], - "x-l2-request-path": [ - "l2-managed-6" + "Transfer-Encoding": [ + "chunked" ], "X-XSS-Protection": [ "0" ], - "Server": [ - "ESF" - ], "Date": [ - "Wed, 29 Nov 2023 12:37:07 GMT" + "Thu, 30 Nov 2023 14:42:38 GMT" ], - "Transfer-Encoding": [ - "chunked" + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "X-Content-Type-Options": [ "nosniff" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "content-length": [ - "140" + "58" ] }, "body": { - "string": "{\n \"range\": \"Sheet1!A1:D1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"faff\",\n \"C3\",\n \"faff\"\n ]\n ]\n}\n" + "string": "{\n \"range\": \"Sheet1!A2:D4\",\n \"majorDimension\": \"ROWS\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Myprvcd1uvJOan-Nb3mrGhN0mCAh4ULvq7CU1VEZK84/values/%27Sheet1%27%212%3A4", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1faFC7YUvsSl-1fxWB355dcjbFay6uC3c6C8i7RqDZ78/values/%27Sheet1%27%211%3A1", "body": null, "headers": { "User-Agent": [ @@ -636,54 +563,54 @@ "message": "OK" }, "headers": { - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], - "Cache-Control": [ - "private" + "X-Frame-Options": [ + "SAMEORIGIN" ], - "x-l2-request-path": [ - "l2-managed-6" + "Transfer-Encoding": [ + "chunked" ], "X-XSS-Protection": [ "0" ], - "Server": [ - "ESF" - ], "Date": [ - "Wed, 29 Nov 2023 12:37:07 GMT" + "Thu, 30 Nov 2023 14:42:38 GMT" ], - "Transfer-Encoding": [ - "chunked" + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "X-Content-Type-Options": [ "nosniff" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "content-length": [ - "191" + "132" ] }, "body": { - "string": "{\n \"range\": \"Sheet1!A2:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"1\",\n \"b2\",\n \"1.45\"\n ],\n [],\n [\n \"A4\",\n \"0.4\",\n \"\",\n \"4\"\n ]\n ]\n}\n" + "string": "{\n \"range\": \"Sheet1!A1:D1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"a\",\n \"b\",\n \"c\",\n \"d\"\n ]\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Myprvcd1uvJOan-Nb3mrGhN0mCAh4ULvq7CU1VEZK84/values/%27Sheet1%27%211%3A1", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1faFC7YUvsSl-1fxWB355dcjbFay6uC3c6C8i7RqDZ78/values/%27Sheet1%27%212%3A4", "body": null, "headers": { "User-Agent": [ @@ -709,54 +636,54 @@ "message": "OK" }, "headers": { - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], - "Cache-Control": [ - "private" + "X-Frame-Options": [ + "SAMEORIGIN" ], - "x-l2-request-path": [ - "l2-managed-6" + "Transfer-Encoding": [ + "chunked" ], "X-XSS-Protection": [ "0" ], - "Server": [ - "ESF" - ], "Date": [ - "Wed, 29 Nov 2023 12:37:08 GMT" + "Thu, 30 Nov 2023 14:42:39 GMT" ], - "Transfer-Encoding": [ - "chunked" + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "X-Content-Type-Options": [ "nosniff" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "content-length": [ - "140" + "58" ] }, "body": { - "string": "{\n \"range\": \"Sheet1!A1:D1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"faff\",\n \"C3\",\n \"faff\"\n ]\n ]\n}\n" + "string": "{\n \"range\": \"Sheet1!A2:D4\",\n \"majorDimension\": \"ROWS\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Myprvcd1uvJOan-Nb3mrGhN0mCAh4ULvq7CU1VEZK84/values/%27Sheet1%27%212%3A4", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1faFC7YUvsSl-1fxWB355dcjbFay6uC3c6C8i7RqDZ78/values/%27Sheet1%27%212%3A4", "body": null, "headers": { "User-Agent": [ @@ -782,54 +709,54 @@ "message": "OK" }, "headers": { - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], - "Cache-Control": [ - "private" + "X-Frame-Options": [ + "SAMEORIGIN" ], - "x-l2-request-path": [ - "l2-managed-6" + "Transfer-Encoding": [ + "chunked" ], "X-XSS-Protection": [ "0" ], - "Server": [ - "ESF" - ], "Date": [ - "Wed, 29 Nov 2023 12:37:08 GMT" + "Thu, 30 Nov 2023 14:42:39 GMT" ], - "Transfer-Encoding": [ - "chunked" + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "X-Content-Type-Options": [ "nosniff" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "content-length": [ - "191" + "58" ] }, "body": { - "string": "{\n \"range\": \"Sheet1!A2:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"1\",\n \"b2\",\n \"1.45\"\n ],\n [],\n [\n \"A4\",\n \"0.4\",\n \"\",\n \"4\"\n ]\n ]\n}\n" + "string": "{\n \"range\": \"Sheet1!A2:D4\",\n \"majorDimension\": \"ROWS\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Myprvcd1uvJOan-Nb3mrGhN0mCAh4ULvq7CU1VEZK84/values/%27Sheet1%27%211%3A1", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1faFC7YUvsSl-1fxWB355dcjbFay6uC3c6C8i7RqDZ78/values/%27Sheet1%27%212%3A4", "body": null, "headers": { "User-Agent": [ @@ -855,54 +782,54 @@ "message": "OK" }, "headers": { - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], - "Cache-Control": [ - "private" + "X-Frame-Options": [ + "SAMEORIGIN" ], - "x-l2-request-path": [ - "l2-managed-6" + "Transfer-Encoding": [ + "chunked" ], "X-XSS-Protection": [ "0" ], - "Server": [ - "ESF" - ], "Date": [ - "Wed, 29 Nov 2023 12:37:09 GMT" + "Thu, 30 Nov 2023 14:42:39 GMT" ], - "Transfer-Encoding": [ - "chunked" + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "X-Content-Type-Options": [ "nosniff" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "content-length": [ - "140" + "58" ] }, "body": { - "string": "{\n \"range\": \"Sheet1!A1:D1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"faff\",\n \"C3\",\n \"faff\"\n ]\n ]\n}\n" + "string": "{\n \"range\": \"Sheet1!A2:D4\",\n \"majorDimension\": \"ROWS\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Myprvcd1uvJOan-Nb3mrGhN0mCAh4ULvq7CU1VEZK84/values/%27Sheet1%27%212%3A4", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1faFC7YUvsSl-1fxWB355dcjbFay6uC3c6C8i7RqDZ78/values/%27Sheet1%27%211%3A1", "body": null, "headers": { "User-Agent": [ @@ -928,54 +855,54 @@ "message": "OK" }, "headers": { - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Server": [ + "ESF" ], - "Cache-Control": [ - "private" + "X-Frame-Options": [ + "SAMEORIGIN" ], - "x-l2-request-path": [ - "l2-managed-6" + "Transfer-Encoding": [ + "chunked" ], "X-XSS-Protection": [ "0" ], - "Server": [ - "ESF" - ], "Date": [ - "Wed, 29 Nov 2023 12:37:09 GMT" + "Thu, 30 Nov 2023 14:42:40 GMT" ], - "Transfer-Encoding": [ - "chunked" + "Cache-Control": [ + "private" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "x-l2-request-path": [ + "l2-managed-6" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "X-Content-Type-Options": [ "nosniff" ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], "content-length": [ - "191" + "132" ] }, "body": { - "string": "{\n \"range\": \"Sheet1!A2:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"1\",\n \"b2\",\n \"1.45\"\n ],\n [],\n [\n \"A4\",\n \"0.4\",\n \"\",\n \"4\"\n ]\n ]\n}\n" + "string": "{\n \"range\": \"Sheet1!A1:D1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"a\",\n \"b\",\n \"c\",\n \"d\"\n ]\n ]\n}\n" } } }, { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1Myprvcd1uvJOan-Nb3mrGhN0mCAh4ULvq7CU1VEZK84?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1faFC7YUvsSl-1fxWB355dcjbFay6uC3c6C8i7RqDZ78?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -1004,20 +931,20 @@ "message": "No Content" }, "headers": { - "Pragma": [ - "no-cache" + "Server": [ + "ESF" ], - "Vary": [ - "Origin, X-Origin" + "X-Frame-Options": [ + "SAMEORIGIN" ], - "Content-Length": [ + "X-XSS-Protection": [ "0" ], - "Content-Type": [ - "text/html" + "Date": [ + "Thu, 30 Nov 2023 14:42:40 GMT" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Pragma": [ + "no-cache" ], "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" @@ -1025,20 +952,20 @@ "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], - "X-XSS-Protection": [ - "0" - ], - "Server": [ - "ESF" + "Content-Type": [ + "text/html" ], - "Date": [ - "Wed, 29 Nov 2023 12:37:10 GMT" + "Content-Length": [ + "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "Vary": [ + "Origin, X-Origin" ], "X-Content-Type-Options": [ "nosniff" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_get_records_wrong_rows_input.json b/tests/cassettes/WorksheetTest.test_get_records_wrong_rows_input.json index d6574dd83..d8670222d 100644 --- a/tests/cassettes/WorksheetTest.test_get_records_wrong_rows_input.json +++ b/tests/cassettes/WorksheetTest.test_get_records_wrong_rows_input.json @@ -19,12 +19,6 @@ "Connection": [ "keep-alive" ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], "Content-Length": [ "119" ], @@ -42,18 +36,27 @@ "message": "OK" }, "headers": { - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 30 Nov 2023 14:42:43 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" ], @@ -63,34 +66,25 @@ "Vary": [ "Origin, X-Origin" ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Server": [ - "ESF" - ], - "X-XSS-Protection": [ - "0" - ], - "X-Frame-Options": [ - "SAMEORIGIN" + "X-Content-Type-Options": [ + "nosniff" ], - "Date": [ - "Sun, 24 Sep 2023 06:01:43 GMT" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "206" ] }, "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1p4Gbh0bqkVEWiVPNNiYuTAQ3YWfmJQwBXzlSlzbI23U\",\n \"name\": \"Test WorksheetTest test_get_records_wrong_rows_input\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"16_pKPDZ38wZN9oCqE9R_TUnHk_CLkA-9i8yxHGKn3NI\",\n \"name\": \"Test WorksheetTest test_get_records_wrong_rows_input\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1p4Gbh0bqkVEWiVPNNiYuTAQ3YWfmJQwBXzlSlzbI23U?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/16_pKPDZ38wZN9oCqE9R_TUnHk_CLkA-9i8yxHGKn3NI?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -105,12 +99,6 @@ "Connection": [ "keep-alive" ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], "authorization": [ "" ] @@ -122,54 +110,54 @@ "message": "OK" }, "headers": { - "X-Content-Type-Options": [ - "nosniff" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 30 Nov 2023 14:42:43 GMT" + ], "Cache-Control": [ "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], + "x-l2-request-path": [ + "l2-managed-6" + ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-XSS-Protection": [ - "0" - ], - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Content-Type-Options": [ + "nosniff" ], - "Date": [ - "Sun, 24 Sep 2023 06:01:44 GMT" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "3350" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1p4Gbh0bqkVEWiVPNNiYuTAQ3YWfmJQwBXzlSlzbI23U\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_records_wrong_rows_input\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1p4Gbh0bqkVEWiVPNNiYuTAQ3YWfmJQwBXzlSlzbI23U/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"16_pKPDZ38wZN9oCqE9R_TUnHk_CLkA-9i8yxHGKn3NI\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_records_wrong_rows_input\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/16_pKPDZ38wZN9oCqE9R_TUnHk_CLkA-9i8yxHGKn3NI/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1p4Gbh0bqkVEWiVPNNiYuTAQ3YWfmJQwBXzlSlzbI23U?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/16_pKPDZ38wZN9oCqE9R_TUnHk_CLkA-9i8yxHGKn3NI?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -184,12 +172,6 @@ "Connection": [ "keep-alive" ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], "authorization": [ "" ] @@ -201,54 +183,54 @@ "message": "OK" }, "headers": { - "X-Content-Type-Options": [ - "nosniff" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 30 Nov 2023 14:42:44 GMT" + ], "Cache-Control": [ "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], + "x-l2-request-path": [ + "l2-managed-6" + ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-XSS-Protection": [ - "0" - ], - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Content-Type-Options": [ + "nosniff" ], - "Date": [ - "Sun, 24 Sep 2023 06:01:44 GMT" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "3350" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1p4Gbh0bqkVEWiVPNNiYuTAQ3YWfmJQwBXzlSlzbI23U\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_records_wrong_rows_input\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1p4Gbh0bqkVEWiVPNNiYuTAQ3YWfmJQwBXzlSlzbI23U/edit\"\n}\n" + "string": "{\n \"spreadsheetId\": \"16_pKPDZ38wZN9oCqE9R_TUnHk_CLkA-9i8yxHGKn3NI\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_records_wrong_rows_input\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/16_pKPDZ38wZN9oCqE9R_TUnHk_CLkA-9i8yxHGKn3NI/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1p4Gbh0bqkVEWiVPNNiYuTAQ3YWfmJQwBXzlSlzbI23U/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/16_pKPDZ38wZN9oCqE9R_TUnHk_CLkA-9i8yxHGKn3NI/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -263,12 +245,6 @@ "Connection": [ "keep-alive" ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], "Content-Length": [ "0" ], @@ -283,54 +259,54 @@ "message": "OK" }, "headers": { - "X-Content-Type-Options": [ - "nosniff" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 30 Nov 2023 14:42:45 GMT" + ], "Cache-Control": [ "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], + "x-l2-request-path": [ + "l2-managed-6" + ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-XSS-Protection": [ - "0" - ], - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Content-Type-Options": [ + "nosniff" ], - "Date": [ - "Sun, 24 Sep 2023 06:01:46 GMT" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "107" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1p4Gbh0bqkVEWiVPNNiYuTAQ3YWfmJQwBXzlSlzbI23U\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"16_pKPDZ38wZN9oCqE9R_TUnHk_CLkA-9i8yxHGKn3NI\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1p4Gbh0bqkVEWiVPNNiYuTAQ3YWfmJQwBXzlSlzbI23U:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/16_pKPDZ38wZN9oCqE9R_TUnHk_CLkA-9i8yxHGKn3NI:batchUpdate", "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 5, \"columnCount\": 3}}, \"fields\": \"gridProperties/rowCount,gridProperties/columnCount\"}}]}", "headers": { "User-Agent": [ @@ -345,12 +321,6 @@ "Connection": [ "keep-alive" ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], "Content-Length": [ "190" ], @@ -368,54 +338,54 @@ "message": "OK" }, "headers": { - "X-Content-Type-Options": [ - "nosniff" + "Server": [ + "ESF" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Transfer-Encoding": [ "chunked" ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 30 Nov 2023 14:42:45 GMT" + ], "Cache-Control": [ "private" ], "Content-Type": [ "application/json; charset=UTF-8" ], + "x-l2-request-path": [ + "l2-managed-6" + ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-XSS-Protection": [ - "0" - ], - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Content-Type-Options": [ + "nosniff" ], - "Date": [ - "Sun, 24 Sep 2023 06:01:46 GMT" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "content-length": [ "97" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1p4Gbh0bqkVEWiVPNNiYuTAQ3YWfmJQwBXzlSlzbI23U\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"16_pKPDZ38wZN9oCqE9R_TUnHk_CLkA-9i8yxHGKn3NI\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1p4Gbh0bqkVEWiVPNNiYuTAQ3YWfmJQwBXzlSlzbI23U?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/16_pKPDZ38wZN9oCqE9R_TUnHk_CLkA-9i8yxHGKn3NI?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -430,12 +400,6 @@ "Connection": [ "keep-alive" ], - "x-goog-api-client": [ - "cred-type/sa" - ], - "x-identity-trust-boundary": [ - "0" - ], "Content-Length": [ "0" ], @@ -450,14 +414,23 @@ "message": "No Content" }, "headers": { + "Server": [ + "ESF" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "X-XSS-Protection": [ + "0" + ], + "Date": [ + "Thu, 30 Nov 2023 14:42:46 GMT" + ], "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" ], "Cache-Control": [ "no-cache, no-store, max-age=0, must-revalidate" @@ -465,26 +438,17 @@ "Content-Type": [ "text/html" ], - "Vary": [ - "Origin, X-Origin" - ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Server": [ - "ESF" - ], "Content-Length": [ "0" ], - "X-XSS-Protection": [ - "0" + "Vary": [ + "Origin, X-Origin" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "X-Content-Type-Options": [ + "nosniff" ], - "Date": [ - "Sun, 24 Sep 2023 06:01:47 GMT" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ] }, "body": {