diff --git a/gspread/worksheet.py b/gspread/worksheet.py index 44c4ca76c..d6268eac5 100644 --- a/gspread/worksheet.py +++ b/gspread/worksheet.py @@ -449,7 +449,13 @@ def get_all_values( def get_all_records( self, - **kwargs, + head=1, + expected_headers=None, + value_render_option=None, + default_blank="", + numericise_ignore=[], + allow_underscores_in_numeric_literals=False, + empty2zero=False, ) -> List[Dict[str, Union[int, float, str]]]: """Returns a list of dictionaries, all of them having the contents of the spreadsheet with the head row as keys and each of these @@ -459,74 +465,27 @@ def get_all_records( Cell values are numericised (strings that can be read as ints or floats are converted), unless specified in numericise_ignore - :param bool empty2zero: (optional) Determines whether empty cells are - converted to zeros. :param int head: (optional) Determines which row to use as keys, starting from 1 following the numeration of the spreadsheet. - :param str default_blank: (optional) Determines which value to use for - blank cells, defaults to empty string. - :param bool allow_underscores_in_numeric_literals: (optional) Allow - underscores in numeric literals, as introduced in PEP 515 - :param list numericise_ignore: (optional) List of ints of indices of - the columns (starting at 1) to ignore numericising, special use - of ['all'] to ignore numericising on all columns. - :param value_render_option: (optional) Determines how values should - be rendered in the output. See `ValueRenderOption`_ in - the Sheets API. - :type value_render_option: :class:`~gspread.utils.ValueRenderOption` - :param list expected_headers: (optional) List of expected headers, they must be unique. .. note:: returned dictionaries will contain all headers even if not included in this list - - """ - return self.get_records(**kwargs) - - def get_records( # noqa: C901 # this comment disables the complexity check for this function - self, - empty2zero=False, - head=1, - first_index=None, - last_index=None, - default_blank="", - allow_underscores_in_numeric_literals=False, - numericise_ignore=[], - value_render_option=None, - expected_headers=None, - ): - """Returns a list of dictionaries, all of them having the contents of - the spreadsheet range selected with the head row/col as keys and each of these - dictionaries holding the contents of subsequent selected rows/cols of cells as - values. - - Cell values are numericised (strings that can be read as ints or floats - are converted), unless specified in numericise_ignore - - :param bool empty2zero: (optional) Determines whether empty cells are - converted to zeros. - :param int head: (optional) Determines which index to use as keys, - starting from 1 following the numeration of the spreadsheet. - :param int first_index: (optional) row to start reading data from (inclusive) (1-based). - :param int last_index: (optional) row to stop reading at (inclusive) (1-based). + :param value_render_option: (optional) Determines how values should + be rendered in the output. See `ValueRenderOption`_ in + the Sheets API. + :type value_render_option: :class:`~gspread.utils.ValueRenderOption` :param str default_blank: (optional) Determines which value to use for blank cells, defaults to empty string. - :param bool allow_underscores_in_numeric_literals: (optional) Allow - underscores in numeric literals, as introduced in PEP 515 :param list numericise_ignore: (optional) List of ints of indices of the columns (starting at 1) to ignore numericising, special use of ['all'] to ignore numericising on all columns. - :param value_render_option: (optional) Determines how values should - be rendered in the output. See `ValueRenderOption`_ in - the Sheets API. - :type value_render_option: :namedtuple:`~gspread.utils.ValueRenderOption` - - :param list expected_headers: (optional) Set this to allow reading a spreadsheet with duplicate headers. Set this to a list of unique headers that you want to read. Other headers not included in this list may be overwritten and data lost. - - .. note:: + :param bool allow_underscores_in_numeric_literals: (optional) Allow + underscores in numeric literals, as introduced in PEP 515 + :param bool empty2zero: (optional) Determines whether empty cells are + converted to zeros when numericised, defaults to False. - returned dictionaries will contain all headers even if not included in this list Examples:: @@ -538,73 +497,31 @@ def get_records( # noqa: C901 # this comment disables the complexity check for # 3 A11 B12 C13 # Read all rows from the sheet - >>> worksheet.get_records() + >>> worksheet.get_all_records() { {"A1": "A6", "B2": "B7", "C3": "C8"}, {"A1": "A11", "B2": "B12", "C3": "C13"} } """ - # some sanity checks - if first_index is None: - first_index = head + 1 - elif first_index <= head: - raise ValueError("first_index must be greater than the head row") - elif first_index > self.row_count: - raise ValueError( - "first_index must be less than or equal to the number of rows in the worksheet" - ) - - 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( - first_index=first_index, last_index=last_index - ), + entire_sheet = self.get( value_render_option=value_render_option, + pad_values=True, ) - if values == [[]]: - # see test_get_records_with_all_values_blank - # if last index is not asked for, + if entire_sheet == [[]]: + # see test_get_all_records_with_all_values_blank # 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 - ) - keys = keys_row[0] if len(keys_row) > 0 else [] - - 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_width, padding_value=default_blank) + return [] - # pad values to be the HEIGHT of last_index - first_index + 1 - if last_index_set is True: - values = fill_gaps(values, rows=last_index - first_index + 1) + keys = entire_sheet[head - 1] + values = entire_sheet[head:] if expected_headers is None: # all headers must be unique header_row_is_unique = len(keys) == len(set(keys)) if not header_row_is_unique: - raise GSpreadException("the header row in the worksheet is not unique") + raise GSpreadException("the header row in the worksheet is not unique" + "try passing 'expected_headers' to get_all_records" + ) else: # all expected headers must be unique expected_headers_are_unique = len(expected_headers) == len( @@ -615,9 +532,8 @@ def get_records( # noqa: C901 # this comment disables the complexity check for # expected headers must be a subset of the actual headers if not all(header in keys for header in expected_headers): raise GSpreadException( - "the given 'expected_headers' contains unknown headers: {}".format( - set(expected_headers) - set(keys) - ) + "the given 'expected_headers' contains unknown headers: " + f"{set(expected_headers) - set(keys)}" ) if numericise_ignore == ["all"]: diff --git a/tests/cassettes/WorksheetTest.test_get_all_records.json b/tests/cassettes/WorksheetTest.test_get_all_records.json index 8c90e57aa..19ea57a3c 100644 --- a/tests/cassettes/WorksheetTest.test_get_all_records.json +++ b/tests/cassettes/WorksheetTest.test_get_all_records.json @@ -36,20 +36,14 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Transfer-Encoding": [ - "chunked" - ], "X-XSS-Protection": [ "0" ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], "Date": [ - "Thu, 30 Nov 2023 14:41:01 GMT" + "Fri, 29 Dec 2023 18:39:08 GMT" ], "Pragma": [ "no-cache" @@ -57,34 +51,40 @@ "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Server": [ + "ESF" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "Transfer-Encoding": [ + "chunked" ], - "Vary": [ - "Origin, X-Origin" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-Content-Type-Options": [ "nosniff" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "content-length": [ "193" ] }, "body": { - "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" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1M2mlIn8G_4hZYnBE1oh10QU9qUFp9KhiIxBT9oTCKOI\",\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/1D5B1xvRYJicleGnvCrpnAlLemIpurNMK3FOe4Z432_A?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1M2mlIn8G_4hZYnBE1oh10QU9qUFp9KhiIxBT9oTCKOI?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -110,54 +110,54 @@ "message": "OK" }, "headers": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:39:08 GMT" + ], "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:41:01 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ "3337" ] }, "body": { - "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" + "string": "{\n \"spreadsheetId\": \"1M2mlIn8G_4hZYnBE1oh10QU9qUFp9KhiIxBT9oTCKOI\",\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/1M2mlIn8G_4hZYnBE1oh10QU9qUFp9KhiIxBT9oTCKOI/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1D5B1xvRYJicleGnvCrpnAlLemIpurNMK3FOe4Z432_A?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1M2mlIn8G_4hZYnBE1oh10QU9qUFp9KhiIxBT9oTCKOI?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -183,54 +183,54 @@ "message": "OK" }, "headers": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:39:09 GMT" + ], "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:41:02 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ "3337" ] }, "body": { - "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" + "string": "{\n \"spreadsheetId\": \"1M2mlIn8G_4hZYnBE1oh10QU9qUFp9KhiIxBT9oTCKOI\",\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/1M2mlIn8G_4hZYnBE1oh10QU9qUFp9KhiIxBT9oTCKOI/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1D5B1xvRYJicleGnvCrpnAlLemIpurNMK3FOe4Z432_A/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1M2mlIn8G_4hZYnBE1oh10QU9qUFp9KhiIxBT9oTCKOI/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -259,54 +259,54 @@ "message": "OK" }, "headers": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:39:09 GMT" + ], "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:41:02 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ "107" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1D5B1xvRYJicleGnvCrpnAlLemIpurNMK3FOe4Z432_A\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1M2mlIn8G_4hZYnBE1oh10QU9qUFp9KhiIxBT9oTCKOI\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1D5B1xvRYJicleGnvCrpnAlLemIpurNMK3FOe4Z432_A:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1M2mlIn8G_4hZYnBE1oh10QU9qUFp9KhiIxBT9oTCKOI: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": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:39:09 GMT" + ], "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:41:02 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ "97" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1D5B1xvRYJicleGnvCrpnAlLemIpurNMK3FOe4Z432_A\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1M2mlIn8G_4hZYnBE1oh10QU9qUFp9KhiIxBT9oTCKOI\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "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]]}", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1M2mlIn8G_4hZYnBE1oh10QU9qUFp9KhiIxBT9oTCKOI/values/%27Sheet1%27%21A1%3AD4?valueInputOption=RAW", + "body": "{\"values\": [[\"A1\", \"B1\", \"\", \"D1\"], [1, \"b2\", 1.45, \"\"], [\"\", \"\", \"\", \"\"], [\"A4\", 0.4, \"\", 4]], \"majorDimension\": null}", "headers": { "User-Agent": [ "python-requests/2.31.0" @@ -401,7 +401,7 @@ "keep-alive" ], "Content-Length": [ - "95" + "119" ], "Content-Type": [ "application/json" @@ -417,54 +417,54 @@ "message": "OK" }, "headers": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:39:10 GMT" + ], "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:41:03 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ "169" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1D5B1xvRYJicleGnvCrpnAlLemIpurNMK3FOe4Z432_A\",\n \"updatedRange\": \"Sheet1!A1:D4\",\n \"updatedRows\": 4,\n \"updatedColumns\": 4,\n \"updatedCells\": 16\n}\n" + "string": "{\n \"spreadsheetId\": \"1M2mlIn8G_4hZYnBE1oh10QU9qUFp9KhiIxBT9oTCKOI\",\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/1D5B1xvRYJicleGnvCrpnAlLemIpurNMK3FOe4Z432_A/values/%27Sheet1%27%212%3A4", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1M2mlIn8G_4hZYnBE1oh10QU9qUFp9KhiIxBT9oTCKOI/values/%27Sheet1%27", "body": null, "headers": { "User-Agent": [ @@ -490,54 +490,54 @@ "message": "OK" }, "headers": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:39:10 GMT" + ], "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:41:03 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ - "191" + "249" ] }, "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:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"B1\",\n \"\",\n \"D1\"\n ],\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/1D5B1xvRYJicleGnvCrpnAlLemIpurNMK3FOe4Z432_A/values/%27Sheet1%27%211%3A1", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1M2mlIn8G_4hZYnBE1oh10QU9qUFp9KhiIxBT9oTCKOI/values/%27Sheet1%27", "body": null, "headers": { "User-Agent": [ @@ -563,127 +563,54 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "X-XSS-Protection": [ + "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Transfer-Encoding": [ - "chunked" - ], - "X-XSS-Protection": [ - "0" + "Content-Type": [ + "application/json; charset=UTF-8" ], "Date": [ - "Thu, 30 Nov 2023 14:41:03 GMT" - ], - "Cache-Control": [ - "private" + "Fri, 29 Dec 2023 18:39:10 GMT" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "Server": [ + "ESF" ], "x-l2-request-path": [ "l2-managed-6" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "X-Content-Type-Options": [ - "nosniff" + "Transfer-Encoding": [ + "chunked" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "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/1D5B1xvRYJicleGnvCrpnAlLemIpurNMK3FOe4Z432_A/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-Content-Type-Options": [ + "nosniff" ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Transfer-Encoding": [ - "chunked" - ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:41:03 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" + "Cache-Control": [ + "private" ], "content-length": [ - "191" + "249" ] }, "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:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"B1\",\n \"\",\n \"D1\"\n ],\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/1D5B1xvRYJicleGnvCrpnAlLemIpurNMK3FOe4Z432_A/values/%27Sheet1%27%211%3A1", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1M2mlIn8G_4hZYnBE1oh10QU9qUFp9KhiIxBT9oTCKOI/values/%27Sheet1%27", "body": null, "headers": { "User-Agent": [ @@ -709,200 +636,54 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Transfer-Encoding": [ - "chunked" - ], "X-XSS-Protection": [ "0" ], - "Date": [ - "Thu, 30 Nov 2023 14:41:04 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" - ] - }, - "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/1D5B1xvRYJicleGnvCrpnAlLemIpurNMK3FOe4Z432_A/values/%27Sheet1%27%212%3A4", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" + "Date": [ + "Fri, 29 Dec 2023 18:39:10 GMT" ], - "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:04 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" + "Transfer-Encoding": [ + "chunked" ], "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/1D5B1xvRYJicleGnvCrpnAlLemIpurNMK3FOe4Z432_A/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-Content-Type-Options": [ + "nosniff" ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Transfer-Encoding": [ - "chunked" - ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:41:04 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" + "Cache-Control": [ + "private" ], "content-length": [ - "134" + "249" ] }, "body": { - "string": "{\n \"range\": \"Sheet1!A1:D1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"B1\",\n \"\",\n \"D1\"\n ]\n ]\n}\n" + "string": "{\n \"range\": \"Sheet1!A1:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"B1\",\n \"\",\n \"D1\"\n ],\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/1D5B1xvRYJicleGnvCrpnAlLemIpurNMK3FOe4Z432_A/values/%27Sheet1%27%212%3A4", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1M2mlIn8G_4hZYnBE1oh10QU9qUFp9KhiIxBT9oTCKOI/values/%27Sheet1%27", "body": null, "headers": { "User-Agent": [ @@ -928,127 +709,54 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Transfer-Encoding": [ - "chunked" - ], "X-XSS-Protection": [ "0" ], - "Date": [ - "Thu, 30 Nov 2023 14:41:05 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/1D5B1xvRYJicleGnvCrpnAlLemIpurNMK3FOe4Z432_A/values/%27Sheet1%27%211%3A1", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" + "Date": [ + "Fri, 29 Dec 2023 18:39:11 GMT" ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:41:06 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ - "134" + "249" ] }, "body": { - "string": "{\n \"range\": \"Sheet1!A1:D1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"B1\",\n \"\",\n \"D1\"\n ]\n ]\n}\n" + "string": "{\n \"range\": \"Sheet1!A1:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"B1\",\n \"\",\n \"D1\"\n ],\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/1D5B1xvRYJicleGnvCrpnAlLemIpurNMK3FOe4Z432_A?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1M2mlIn8G_4hZYnBE1oh10QU9qUFp9KhiIxBT9oTCKOI?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -1077,17 +785,14 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "X-XSS-Protection": [ "0" ], + "Content-Type": [ + "text/html" + ], "Date": [ - "Thu, 30 Nov 2023 14:41:06 GMT" + "Fri, 29 Dec 2023 18:39:11 GMT" ], "Pragma": [ "no-cache" @@ -1095,11 +800,17 @@ "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Server": [ + "ESF" ], - "Content-Type": [ - "text/html" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "X-Frame-Options": [ + "SAMEORIGIN" ], "Content-Length": [ "0" @@ -1107,11 +818,8 @@ "Vary": [ "Origin, X-Origin" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ] }, "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 9dbf58d21..54967ce4b 100644 --- a/tests/cassettes/WorksheetTest.test_get_all_records_different_header.json +++ b/tests/cassettes/WorksheetTest.test_get_all_records_different_header.json @@ -36,20 +36,14 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Transfer-Encoding": [ - "chunked" - ], "X-XSS-Protection": [ "0" ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], "Date": [ - "Thu, 30 Nov 2023 14:41:08 GMT" + "Fri, 29 Dec 2023 18:39:13 GMT" ], "Pragma": [ "no-cache" @@ -57,34 +51,40 @@ "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Server": [ + "ESF" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "Transfer-Encoding": [ + "chunked" ], - "Vary": [ - "Origin, X-Origin" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-Content-Type-Options": [ "nosniff" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "content-length": [ "210" ] }, "body": { - "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" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1Lego-kcxvbnP-fvfUwb0_8npW23ZUYQsfGCPQJypr-E\",\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/1-T-VKTCJl2l_zUdG6VP_Bk2OUUyMEXtbbAm2X0YiZMk?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Lego-kcxvbnP-fvfUwb0_8npW23ZUYQsfGCPQJypr-E?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -110,54 +110,54 @@ "message": "OK" }, "headers": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:39:14 GMT" + ], "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:41:09 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ "3354" ] }, "body": { - "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" + "string": "{\n \"spreadsheetId\": \"1Lego-kcxvbnP-fvfUwb0_8npW23ZUYQsfGCPQJypr-E\",\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/1Lego-kcxvbnP-fvfUwb0_8npW23ZUYQsfGCPQJypr-E/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1-T-VKTCJl2l_zUdG6VP_Bk2OUUyMEXtbbAm2X0YiZMk?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Lego-kcxvbnP-fvfUwb0_8npW23ZUYQsfGCPQJypr-E?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -183,54 +183,54 @@ "message": "OK" }, "headers": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:39:14 GMT" + ], "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:41:09 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ "3354" ] }, "body": { - "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" + "string": "{\n \"spreadsheetId\": \"1Lego-kcxvbnP-fvfUwb0_8npW23ZUYQsfGCPQJypr-E\",\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/1Lego-kcxvbnP-fvfUwb0_8npW23ZUYQsfGCPQJypr-E/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1-T-VKTCJl2l_zUdG6VP_Bk2OUUyMEXtbbAm2X0YiZMk/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Lego-kcxvbnP-fvfUwb0_8npW23ZUYQsfGCPQJypr-E/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -259,54 +259,54 @@ "message": "OK" }, "headers": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:39:14 GMT" + ], "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:41:10 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ "107" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1-T-VKTCJl2l_zUdG6VP_Bk2OUUyMEXtbbAm2X0YiZMk\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1Lego-kcxvbnP-fvfUwb0_8npW23ZUYQsfGCPQJypr-E\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1-T-VKTCJl2l_zUdG6VP_Bk2OUUyMEXtbbAm2X0YiZMk:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Lego-kcxvbnP-fvfUwb0_8npW23ZUYQsfGCPQJypr-E: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": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:39:14 GMT" + ], "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:41:10 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ "97" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1-T-VKTCJl2l_zUdG6VP_Bk2OUUyMEXtbbAm2X0YiZMk\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1Lego-kcxvbnP-fvfUwb0_8npW23ZUYQsfGCPQJypr-E\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "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]]}", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Lego-kcxvbnP-fvfUwb0_8npW23ZUYQsfGCPQJypr-E/values/%27Sheet1%27%21A1%3AD6?valueInputOption=RAW", + "body": "{\"values\": [[\"\", \"\", \"\", \"\"], [\"\", \"\", \"\", \"\"], [\"A1\", \"B1\", \"\", \"D1\"], [1, \"b2\", 1.45, \"\"], [\"\", \"\", \"\", \"\"], [\"A4\", 0.4, \"\", 4]], \"majorDimension\": null}", "headers": { "User-Agent": [ "python-requests/2.31.0" @@ -401,7 +401,7 @@ "keep-alive" ], "Content-Length": [ - "131" + "155" ], "Content-Type": [ "application/json" @@ -417,54 +417,54 @@ "message": "OK" }, "headers": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:39:15 GMT" + ], "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:41:11 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ "169" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1-T-VKTCJl2l_zUdG6VP_Bk2OUUyMEXtbbAm2X0YiZMk\",\n \"updatedRange\": \"Sheet1!A1:D6\",\n \"updatedRows\": 6,\n \"updatedColumns\": 4,\n \"updatedCells\": 24\n}\n" + "string": "{\n \"spreadsheetId\": \"1Lego-kcxvbnP-fvfUwb0_8npW23ZUYQsfGCPQJypr-E\",\n \"updatedRange\": \"Sheet1!A1:D6\",\n \"updatedRows\": 6,\n \"updatedColumns\": 4,\n \"updatedCells\": 24\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1-T-VKTCJl2l_zUdG6VP_Bk2OUUyMEXtbbAm2X0YiZMk/values/%27Sheet1%27%214%3A6", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Lego-kcxvbnP-fvfUwb0_8npW23ZUYQsfGCPQJypr-E/values/%27Sheet1%27", "body": null, "headers": { "User-Agent": [ @@ -490,54 +490,54 @@ "message": "OK" }, "headers": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:39:15 GMT" + ], "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:41:11 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ - "191" + "265" ] }, "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!A1:D6\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [],\n [],\n [\n \"A1\",\n \"B1\",\n \"\",\n \"D1\"\n ],\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/1-T-VKTCJl2l_zUdG6VP_Bk2OUUyMEXtbbAm2X0YiZMk/values/%27Sheet1%27%213%3A3", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Lego-kcxvbnP-fvfUwb0_8npW23ZUYQsfGCPQJypr-E/values/%27Sheet1%27", "body": null, "headers": { "User-Agent": [ @@ -563,127 +563,54 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "X-XSS-Protection": [ + "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Transfer-Encoding": [ - "chunked" - ], - "X-XSS-Protection": [ - "0" + "Content-Type": [ + "application/json; charset=UTF-8" ], "Date": [ - "Thu, 30 Nov 2023 14:41:12 GMT" - ], - "Cache-Control": [ - "private" + "Fri, 29 Dec 2023 18:39:15 GMT" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "Server": [ + "ESF" ], "x-l2-request-path": [ "l2-managed-6" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "X-Content-Type-Options": [ - "nosniff" + "Transfer-Encoding": [ + "chunked" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "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/1-T-VKTCJl2l_zUdG6VP_Bk2OUUyMEXtbbAm2X0YiZMk/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": { - "Server": [ - "ESF" + "X-Content-Type-Options": [ + "nosniff" ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Transfer-Encoding": [ - "chunked" - ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:41:12 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" + "Cache-Control": [ + "private" ], "content-length": [ - "191" + "265" ] }, "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!A1:D6\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [],\n [],\n [\n \"A1\",\n \"B1\",\n \"\",\n \"D1\"\n ],\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/1-T-VKTCJl2l_zUdG6VP_Bk2OUUyMEXtbbAm2X0YiZMk/values/%27Sheet1%27%213%3A3", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Lego-kcxvbnP-fvfUwb0_8npW23ZUYQsfGCPQJypr-E/values/%27Sheet1%27", "body": null, "headers": { "User-Agent": [ @@ -709,200 +636,54 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Transfer-Encoding": [ - "chunked" - ], "X-XSS-Protection": [ "0" ], - "Date": [ - "Thu, 30 Nov 2023 14:41:12 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" - ] - }, - "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/1-T-VKTCJl2l_zUdG6VP_Bk2OUUyMEXtbbAm2X0YiZMk/values/%27Sheet1%27%214%3A6", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" + "Date": [ + "Fri, 29 Dec 2023 18:39:16 GMT" ], - "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:13 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" + "Transfer-Encoding": [ + "chunked" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "content-length": [ - "191" - ] - }, - "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" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1-T-VKTCJl2l_zUdG6VP_Bk2OUUyMEXtbbAm2X0YiZMk/values/%27Sheet1%27%213%3A3", - "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-Content-Type-Options": [ + "nosniff" ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Transfer-Encoding": [ - "chunked" - ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:41: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-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ - "134" + "265" ] }, "body": { - "string": "{\n \"range\": \"Sheet1!A3:D3\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"B1\",\n \"\",\n \"D1\"\n ]\n ]\n}\n" + "string": "{\n \"range\": \"Sheet1!A1:D6\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [],\n [],\n [\n \"A1\",\n \"B1\",\n \"\",\n \"D1\"\n ],\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/1-T-VKTCJl2l_zUdG6VP_Bk2OUUyMEXtbbAm2X0YiZMk/values/%27Sheet1%27%214%3A6", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Lego-kcxvbnP-fvfUwb0_8npW23ZUYQsfGCPQJypr-E/values/%27Sheet1%27", "body": null, "headers": { "User-Agent": [ @@ -928,127 +709,54 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Transfer-Encoding": [ - "chunked" - ], "X-XSS-Protection": [ "0" ], - "Date": [ - "Thu, 30 Nov 2023 14:41: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-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "content-length": [ - "191" - ] - }, - "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" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1-T-VKTCJl2l_zUdG6VP_Bk2OUUyMEXtbbAm2X0YiZMk/values/%27Sheet1%27%213%3A3", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" + "Date": [ + "Fri, 29 Dec 2023 18:39:16 GMT" ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:41:14 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ - "134" + "265" ] }, "body": { - "string": "{\n \"range\": \"Sheet1!A3:D3\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"B1\",\n \"\",\n \"D1\"\n ]\n ]\n}\n" + "string": "{\n \"range\": \"Sheet1!A1:D6\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [],\n [],\n [\n \"A1\",\n \"B1\",\n \"\",\n \"D1\"\n ],\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/1-T-VKTCJl2l_zUdG6VP_Bk2OUUyMEXtbbAm2X0YiZMk?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1Lego-kcxvbnP-fvfUwb0_8npW23ZUYQsfGCPQJypr-E?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -1077,17 +785,14 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "X-XSS-Protection": [ "0" ], + "Content-Type": [ + "text/html" + ], "Date": [ - "Thu, 30 Nov 2023 14:41:15 GMT" + "Fri, 29 Dec 2023 18:39:16 GMT" ], "Pragma": [ "no-cache" @@ -1095,11 +800,17 @@ "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Server": [ + "ESF" ], - "Content-Type": [ - "text/html" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "X-Frame-Options": [ + "SAMEORIGIN" ], "Content-Length": [ "0" @@ -1107,11 +818,8 @@ "Vary": [ "Origin, X-Origin" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ] }, "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 d4db40d84..5dec4b7b7 100644 --- a/tests/cassettes/WorksheetTest.test_get_all_records_duplicate_keys.json +++ b/tests/cassettes/WorksheetTest.test_get_all_records_duplicate_keys.json @@ -36,20 +36,14 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Transfer-Encoding": [ - "chunked" - ], "X-XSS-Protection": [ "0" ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], "Date": [ - "Thu, 30 Nov 2023 14:41:18 GMT" + "Fri, 29 Dec 2023 18:39:18 GMT" ], "Pragma": [ "no-cache" @@ -57,34 +51,40 @@ "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Server": [ + "ESF" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "Transfer-Encoding": [ + "chunked" ], - "Vary": [ - "Origin, X-Origin" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-Content-Type-Options": [ "nosniff" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "content-length": [ "208" ] }, "body": { - "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" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1JZimm--KJIW3i9vtdNDdma88poPWX6GFIFNyyrvjc5Y\",\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/1Bd01_j5JDZjjjcG4su-pI12_qurrHI58BlX7abSAawE?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JZimm--KJIW3i9vtdNDdma88poPWX6GFIFNyyrvjc5Y?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -110,54 +110,54 @@ "message": "OK" }, "headers": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:39:19 GMT" + ], "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:41:18 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ "3352" ] }, "body": { - "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" + "string": "{\n \"spreadsheetId\": \"1JZimm--KJIW3i9vtdNDdma88poPWX6GFIFNyyrvjc5Y\",\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/1JZimm--KJIW3i9vtdNDdma88poPWX6GFIFNyyrvjc5Y/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Bd01_j5JDZjjjcG4su-pI12_qurrHI58BlX7abSAawE?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JZimm--KJIW3i9vtdNDdma88poPWX6GFIFNyyrvjc5Y?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -183,54 +183,54 @@ "message": "OK" }, "headers": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:39:19 GMT" + ], "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:41:19 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ "3352" ] }, "body": { - "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" + "string": "{\n \"spreadsheetId\": \"1JZimm--KJIW3i9vtdNDdma88poPWX6GFIFNyyrvjc5Y\",\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/1JZimm--KJIW3i9vtdNDdma88poPWX6GFIFNyyrvjc5Y/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Bd01_j5JDZjjjcG4su-pI12_qurrHI58BlX7abSAawE/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JZimm--KJIW3i9vtdNDdma88poPWX6GFIFNyyrvjc5Y/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -259,54 +259,54 @@ "message": "OK" }, "headers": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:39:19 GMT" + ], "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:41:20 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ "107" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1Bd01_j5JDZjjjcG4su-pI12_qurrHI58BlX7abSAawE\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1JZimm--KJIW3i9vtdNDdma88poPWX6GFIFNyyrvjc5Y\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1Bd01_j5JDZjjjcG4su-pI12_qurrHI58BlX7abSAawE:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JZimm--KJIW3i9vtdNDdma88poPWX6GFIFNyyrvjc5Y: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": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:39:20 GMT" + ], "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:41:20 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ "97" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1Bd01_j5JDZjjjcG4su-pI12_qurrHI58BlX7abSAawE\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1JZimm--KJIW3i9vtdNDdma88poPWX6GFIFNyyrvjc5Y\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "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]]}", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JZimm--KJIW3i9vtdNDdma88poPWX6GFIFNyyrvjc5Y/values/%27Sheet1%27%21A1%3AD4?valueInputOption=RAW", + "body": "{\"values\": [[\"A1\", \"faff\", \"C3\", \"faff\"], [1, \"b2\", 1.45, \"\"], [\"\", \"\", \"\", \"\"], [\"A4\", 0.4, \"\", 4]], \"majorDimension\": null}", "headers": { "User-Agent": [ "python-requests/2.31.0" @@ -401,7 +401,7 @@ "keep-alive" ], "Content-Length": [ - "101" + "125" ], "Content-Type": [ "application/json" @@ -417,54 +417,54 @@ "message": "OK" }, "headers": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:39:20 GMT" + ], "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:41:21 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ "169" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1Bd01_j5JDZjjjcG4su-pI12_qurrHI58BlX7abSAawE\",\n \"updatedRange\": \"Sheet1!A1:D4\",\n \"updatedRows\": 4,\n \"updatedColumns\": 4,\n \"updatedCells\": 16\n}\n" + "string": "{\n \"spreadsheetId\": \"1JZimm--KJIW3i9vtdNDdma88poPWX6GFIFNyyrvjc5Y\",\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/1Bd01_j5JDZjjjcG4su-pI12_qurrHI58BlX7abSAawE/values/%27Sheet1%27%212%3A4", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JZimm--KJIW3i9vtdNDdma88poPWX6GFIFNyyrvjc5Y/values/%27Sheet1%27", "body": null, "headers": { "User-Agent": [ @@ -490,54 +490,54 @@ "message": "OK" }, "headers": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:39:20 GMT" + ], "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:41:22 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ - "191" + "255" ] }, "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:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"faff\",\n \"C3\",\n \"faff\"\n ],\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", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JZimm--KJIW3i9vtdNDdma88poPWX6GFIFNyyrvjc5Y/values/%27Sheet1%27", "body": null, "headers": { "User-Agent": [ @@ -563,127 +563,54 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "X-XSS-Protection": [ + "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Transfer-Encoding": [ - "chunked" - ], - "X-XSS-Protection": [ - "0" + "Content-Type": [ + "application/json; charset=UTF-8" ], "Date": [ - "Thu, 30 Nov 2023 14:41:22 GMT" - ], - "Cache-Control": [ - "private" + "Fri, 29 Dec 2023 18:39:20 GMT" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "Server": [ + "ESF" ], "x-l2-request-path": [ "l2-managed-6" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "X-Content-Type-Options": [ - "nosniff" + "Transfer-Encoding": [ + "chunked" ], "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-Content-Type-Options": [ + "nosniff" ], "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" + "Cache-Control": [ + "private" ], "content-length": [ - "191" + "255" ] }, "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:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"faff\",\n \"C3\",\n \"faff\"\n ],\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", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JZimm--KJIW3i9vtdNDdma88poPWX6GFIFNyyrvjc5Y/values/%27Sheet1%27", "body": null, "headers": { "User-Agent": [ @@ -709,200 +636,54 @@ "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": [ - "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" + "Date": [ + "Fri, 29 Dec 2023 18:39:21 GMT" ], - "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" + "Transfer-Encoding": [ + "chunked" ], "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-Content-Type-Options": [ + "nosniff" ], "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" + "Cache-Control": [ + "private" ], "content-length": [ - "140" + "255" ] }, "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!A1:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"faff\",\n \"C3\",\n \"faff\"\n ],\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%212%3A4", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JZimm--KJIW3i9vtdNDdma88poPWX6GFIFNyyrvjc5Y/values/%27Sheet1%27", "body": null, "headers": { "User-Agent": [ @@ -928,127 +709,54 @@ "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" + "Date": [ + "Fri, 29 Dec 2023 18:39:21 GMT" ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:41:25 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ - "140" + "255" ] }, "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!A1:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"faff\",\n \"C3\",\n \"faff\"\n ],\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/1Bd01_j5JDZjjjcG4su-pI12_qurrHI58BlX7abSAawE?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1JZimm--KJIW3i9vtdNDdma88poPWX6GFIFNyyrvjc5Y?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -1077,17 +785,14 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "X-XSS-Protection": [ "0" ], + "Content-Type": [ + "text/html" + ], "Date": [ - "Thu, 30 Nov 2023 14:41:26 GMT" + "Fri, 29 Dec 2023 18:39:21 GMT" ], "Pragma": [ "no-cache" @@ -1095,11 +800,17 @@ "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Server": [ + "ESF" ], - "Content-Type": [ - "text/html" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "X-Frame-Options": [ + "SAMEORIGIN" ], "Content-Length": [ "0" @@ -1107,11 +818,8 @@ "Vary": [ "Origin, X-Origin" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ] }, "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 d269df0f5..d6d75b9c2 100644 --- a/tests/cassettes/WorksheetTest.test_get_all_records_numericise_unformatted.json +++ b/tests/cassettes/WorksheetTest.test_get_all_records_numericise_unformatted.json @@ -36,20 +36,14 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Transfer-Encoding": [ - "chunked" - ], "X-XSS-Protection": [ "0" ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], "Date": [ - "Thu, 30 Nov 2023 14:41:29 GMT" + "Fri, 29 Dec 2023 18:39:24 GMT" ], "Pragma": [ "no-cache" @@ -57,34 +51,40 @@ "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Server": [ + "ESF" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "Transfer-Encoding": [ + "chunked" ], - "Vary": [ - "Origin, X-Origin" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-Content-Type-Options": [ "nosniff" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "content-length": [ "216" ] }, "body": { - "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" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1mt_zJLsgMLDIjwdv6qy7hSiWm2nH9UwBWt4nQiSB4SQ\",\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/1pRTd3PnzNOlDB1VsJOHN_3DpgUEo2IvDoSyAdlEYYnw?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1mt_zJLsgMLDIjwdv6qy7hSiWm2nH9UwBWt4nQiSB4SQ?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -110,54 +110,54 @@ "message": "OK" }, "headers": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:39:25 GMT" + ], "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:41:30 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ "3360" ] }, "body": { - "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" + "string": "{\n \"spreadsheetId\": \"1mt_zJLsgMLDIjwdv6qy7hSiWm2nH9UwBWt4nQiSB4SQ\",\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/1mt_zJLsgMLDIjwdv6qy7hSiWm2nH9UwBWt4nQiSB4SQ/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1pRTd3PnzNOlDB1VsJOHN_3DpgUEo2IvDoSyAdlEYYnw?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1mt_zJLsgMLDIjwdv6qy7hSiWm2nH9UwBWt4nQiSB4SQ?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -183,54 +183,54 @@ "message": "OK" }, "headers": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:39:25 GMT" + ], "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:41:30 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ "3360" ] }, "body": { - "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" + "string": "{\n \"spreadsheetId\": \"1mt_zJLsgMLDIjwdv6qy7hSiWm2nH9UwBWt4nQiSB4SQ\",\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/1mt_zJLsgMLDIjwdv6qy7hSiWm2nH9UwBWt4nQiSB4SQ/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1pRTd3PnzNOlDB1VsJOHN_3DpgUEo2IvDoSyAdlEYYnw/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1mt_zJLsgMLDIjwdv6qy7hSiWm2nH9UwBWt4nQiSB4SQ/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -259,54 +259,54 @@ "message": "OK" }, "headers": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:39:25 GMT" + ], "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:41:31 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ "107" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1pRTd3PnzNOlDB1VsJOHN_3DpgUEo2IvDoSyAdlEYYnw\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1mt_zJLsgMLDIjwdv6qy7hSiWm2nH9UwBWt4nQiSB4SQ\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1pRTd3PnzNOlDB1VsJOHN_3DpgUEo2IvDoSyAdlEYYnw:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1mt_zJLsgMLDIjwdv6qy7hSiWm2nH9UwBWt4nQiSB4SQ: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": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:39:26 GMT" + ], "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:41:32 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ "97" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1pRTd3PnzNOlDB1VsJOHN_3DpgUEo2IvDoSyAdlEYYnw\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1mt_zJLsgMLDIjwdv6qy7hSiWm2nH9UwBWt4nQiSB4SQ\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1pRTd3PnzNOlDB1VsJOHN_3DpgUEo2IvDoSyAdlEYYnw/values/%27Sheet1%27%21A1%3AD2", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1mt_zJLsgMLDIjwdv6qy7hSiWm2nH9UwBWt4nQiSB4SQ/values/%27Sheet1%27%21A1%3AD2", "body": null, "headers": { "User-Agent": [ @@ -411,40 +411,40 @@ "message": "OK" }, "headers": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:39:26 GMT" + ], "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:41:32 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ "58" @@ -458,7 +458,7 @@ { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1pRTd3PnzNOlDB1VsJOHN_3DpgUEo2IvDoSyAdlEYYnw/values/%27Sheet1%27%21A1%3AD2?valueInputOption=USER_ENTERED", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1mt_zJLsgMLDIjwdv6qy7hSiWm2nH9UwBWt4nQiSB4SQ/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": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:39:26 GMT" + ], "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:41:33 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ "168" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1pRTd3PnzNOlDB1VsJOHN_3DpgUEo2IvDoSyAdlEYYnw\",\n \"updatedRange\": \"Sheet1!A1:D2\",\n \"updatedRows\": 2,\n \"updatedColumns\": 4,\n \"updatedCells\": 8\n}\n" + "string": "{\n \"spreadsheetId\": \"1mt_zJLsgMLDIjwdv6qy7hSiWm2nH9UwBWt4nQiSB4SQ\",\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/1pRTd3PnzNOlDB1VsJOHN_3DpgUEo2IvDoSyAdlEYYnw/values/%27Sheet1%27%212%3A2?valueRenderOption=UNFORMATTED_VALUE", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1mt_zJLsgMLDIjwdv6qy7hSiWm2nH9UwBWt4nQiSB4SQ/values/%27Sheet1%27?valueRenderOption=UNFORMATTED_VALUE", "body": null, "headers": { "User-Agent": [ @@ -563,127 +563,54 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Transfer-Encoding": [ - "chunked" - ], "X-XSS-Protection": [ "0" ], - "Date": [ - "Thu, 30 Nov 2023 14:41:33 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": [ - "136" - ] - }, - "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" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1pRTd3PnzNOlDB1VsJOHN_3DpgUEo2IvDoSyAdlEYYnw/values/%27Sheet1%27%211%3A1?valueRenderOption=UNFORMATTED_VALUE", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" + "Date": [ + "Fri, 29 Dec 2023 18:39:27 GMT" ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:41:33 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ - "135" + "195" ] }, "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!A1:D2\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A\",\n \"\",\n \"C\",\n \"3_1_0\"\n ],\n [\n 1.5,\n 0.12,\n \"\",\n \"3_2_1\"\n ]\n ]\n}\n" } } }, { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1pRTd3PnzNOlDB1VsJOHN_3DpgUEo2IvDoSyAdlEYYnw?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1mt_zJLsgMLDIjwdv6qy7hSiWm2nH9UwBWt4nQiSB4SQ?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -712,17 +639,14 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "X-XSS-Protection": [ "0" ], + "Content-Type": [ + "text/html" + ], "Date": [ - "Thu, 30 Nov 2023 14:41:34 GMT" + "Fri, 29 Dec 2023 18:39:27 GMT" ], "Pragma": [ "no-cache" @@ -730,11 +654,17 @@ "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Server": [ + "ESF" ], - "Content-Type": [ - "text/html" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "X-Frame-Options": [ + "SAMEORIGIN" ], "Content-Length": [ "0" @@ -742,11 +672,8 @@ "Vary": [ "Origin, X-Origin" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_get_records_pad_more_than_one_key.json b/tests/cassettes/WorksheetTest.test_get_all_records_pad_more_than_one_key.json similarity index 61% rename from tests/cassettes/WorksheetTest.test_get_records_pad_more_than_one_key.json rename to tests/cassettes/WorksheetTest.test_get_all_records_pad_more_than_one_key.json index bac33ed72..9dbc74cf2 100644 --- a/tests/cassettes/WorksheetTest.test_get_records_pad_more_than_one_key.json +++ b/tests/cassettes/WorksheetTest.test_get_all_records_pad_more_than_one_key.json @@ -5,7 +5,7 @@ "request": { "method": "POST", "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_get_records_pad_more_than_one_key\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "body": "{\"name\": \"Test WorksheetTest test_get_all_records_pad_more_than_one_key\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", "headers": { "User-Agent": [ "python-requests/2.31.0" @@ -20,7 +20,7 @@ "keep-alive" ], "Content-Length": [ - "124" + "128" ], "Content-Type": [ "application/json" @@ -36,20 +36,14 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Transfer-Encoding": [ - "chunked" - ], "X-XSS-Protection": [ "0" ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], "Date": [ - "Thu, 30 Nov 2023 14:42:13 GMT" + "Fri, 29 Dec 2023 18:39:31 GMT" ], "Pragma": [ "no-cache" @@ -57,34 +51,40 @@ "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Server": [ + "ESF" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "Transfer-Encoding": [ + "chunked" ], - "Vary": [ - "Origin, X-Origin" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-Content-Type-Options": [ "nosniff" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "content-length": [ - "211" + "215" ] }, "body": { - "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" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1n1SRArUGgc2zoJw2hOIjuVNhvFbobJWlK4xSwroNh2I\",\n \"name\": \"Test WorksheetTest test_get_all_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/1LfqLmKadgwVUVdCj31nwKUO_nUL46AAlUz-Aar71qRY?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1n1SRArUGgc2zoJw2hOIjuVNhvFbobJWlK4xSwroNh2I?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -110,54 +110,54 @@ "message": "OK" }, "headers": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:39:31 GMT" + ], "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:42:14 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ - "3355" + "3359" ] }, "body": { - "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" + "string": "{\n \"spreadsheetId\": \"1n1SRArUGgc2zoJw2hOIjuVNhvFbobJWlK4xSwroNh2I\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_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/1n1SRArUGgc2zoJw2hOIjuVNhvFbobJWlK4xSwroNh2I/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1LfqLmKadgwVUVdCj31nwKUO_nUL46AAlUz-Aar71qRY?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1n1SRArUGgc2zoJw2hOIjuVNhvFbobJWlK4xSwroNh2I?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -183,54 +183,54 @@ "message": "OK" }, "headers": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:39:32 GMT" + ], "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:42:14 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ - "3355" + "3359" ] }, "body": { - "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" + "string": "{\n \"spreadsheetId\": \"1n1SRArUGgc2zoJw2hOIjuVNhvFbobJWlK4xSwroNh2I\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_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/1n1SRArUGgc2zoJw2hOIjuVNhvFbobJWlK4xSwroNh2I/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1LfqLmKadgwVUVdCj31nwKUO_nUL46AAlUz-Aar71qRY/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1n1SRArUGgc2zoJw2hOIjuVNhvFbobJWlK4xSwroNh2I/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -259,54 +259,54 @@ "message": "OK" }, "headers": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:39:32 GMT" + ], "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:42:15 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ "107" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1LfqLmKadgwVUVdCj31nwKUO_nUL46AAlUz-Aar71qRY\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1n1SRArUGgc2zoJw2hOIjuVNhvFbobJWlK4xSwroNh2I\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1LfqLmKadgwVUVdCj31nwKUO_nUL46AAlUz-Aar71qRY:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1n1SRArUGgc2zoJw2hOIjuVNhvFbobJWlK4xSwroNh2I:batchUpdate", "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 2, \"columnCount\": 4}}, \"fields\": \"gridProperties/rowCount,gridProperties/columnCount\"}}]}", "headers": { "User-Agent": [ @@ -338,55 +338,55 @@ "message": "OK" }, "headers": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:39:32 GMT" + ], "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:42:15 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ "97" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1LfqLmKadgwVUVdCj31nwKUO_nUL46AAlUz-Aar71qRY\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1n1SRArUGgc2zoJw2hOIjuVNhvFbobJWlK4xSwroNh2I\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "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]]}", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1n1SRArUGgc2zoJw2hOIjuVNhvFbobJWlK4xSwroNh2I/values/%27Sheet1%27%21A1%3AD2?valueInputOption=RAW", + "body": "{\"values\": [[\"A1\", \"B1\"], [1, 2, 3, 4]], \"majorDimension\": null}", "headers": { "User-Agent": [ "python-requests/2.31.0" @@ -401,7 +401,7 @@ "keep-alive" ], "Content-Length": [ - "40" + "64" ], "Content-Type": [ "application/json" @@ -417,54 +417,54 @@ "message": "OK" }, "headers": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:39:33 GMT" + ], "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:42:16 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ "168" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1LfqLmKadgwVUVdCj31nwKUO_nUL46AAlUz-Aar71qRY\",\n \"updatedRange\": \"Sheet1!A1:D2\",\n \"updatedRows\": 2,\n \"updatedColumns\": 4,\n \"updatedCells\": 6\n}\n" + "string": "{\n \"spreadsheetId\": \"1n1SRArUGgc2zoJw2hOIjuVNhvFbobJWlK4xSwroNh2I\",\n \"updatedRange\": \"Sheet1!A1:D2\",\n \"updatedRows\": 2,\n \"updatedColumns\": 4,\n \"updatedCells\": 6\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1LfqLmKadgwVUVdCj31nwKUO_nUL46AAlUz-Aar71qRY/values/%27Sheet1%27%212%3A2", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1n1SRArUGgc2zoJw2hOIjuVNhvFbobJWlK4xSwroNh2I/values/%27Sheet1%27", "body": null, "headers": { "User-Agent": [ @@ -490,127 +490,54 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], - "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-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "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": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1LfqLmKadgwVUVdCj31nwKUO_nUL46AAlUz-Aar71qRY/values/%27Sheet1%27%211%3A1", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" + "Date": [ + "Fri, 29 Dec 2023 18:39:33 GMT" ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:42:17 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ - "112" + "168" ] }, "body": { - "string": "{\n \"range\": \"Sheet1!A1:D1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"B1\"\n ]\n ]\n}\n" + "string": "{\n \"range\": \"Sheet1!A1:D2\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"B1\"\n ],\n [\n \"1\",\n \"2\",\n \"3\",\n \"4\"\n ]\n ]\n}\n" } } }, { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1LfqLmKadgwVUVdCj31nwKUO_nUL46AAlUz-Aar71qRY?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1n1SRArUGgc2zoJw2hOIjuVNhvFbobJWlK4xSwroNh2I?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -639,17 +566,14 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "X-XSS-Protection": [ "0" ], + "Content-Type": [ + "text/html" + ], "Date": [ - "Thu, 30 Nov 2023 14:42:18 GMT" + "Fri, 29 Dec 2023 18:39:33 GMT" ], "Pragma": [ "no-cache" @@ -657,11 +581,17 @@ "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Server": [ + "ESF" ], - "Content-Type": [ - "text/html" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "X-Frame-Options": [ + "SAMEORIGIN" ], "Content-Length": [ "0" @@ -669,11 +599,8 @@ "Vary": [ "Origin, X-Origin" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_get_records_pad_one_key.json b/tests/cassettes/WorksheetTest.test_get_all_records_pad_one_key.json similarity index 62% rename from tests/cassettes/WorksheetTest.test_get_records_pad_one_key.json rename to tests/cassettes/WorksheetTest.test_get_all_records_pad_one_key.json index aa111124e..25ef4711f 100644 --- a/tests/cassettes/WorksheetTest.test_get_records_pad_one_key.json +++ b/tests/cassettes/WorksheetTest.test_get_all_records_pad_one_key.json @@ -5,7 +5,7 @@ "request": { "method": "POST", "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_get_records_pad_one_key\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "body": "{\"name\": \"Test WorksheetTest test_get_all_records_pad_one_key\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", "headers": { "User-Agent": [ "python-requests/2.31.0" @@ -20,7 +20,7 @@ "keep-alive" ], "Content-Length": [ - "114" + "118" ], "Content-Type": [ "application/json" @@ -36,20 +36,14 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Transfer-Encoding": [ - "chunked" - ], "X-XSS-Protection": [ "0" ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], "Date": [ - "Thu, 30 Nov 2023 14:42:20 GMT" + "Fri, 29 Dec 2023 18:39:37 GMT" ], "Pragma": [ "no-cache" @@ -57,34 +51,40 @@ "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Server": [ + "ESF" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "Transfer-Encoding": [ + "chunked" ], - "Vary": [ - "Origin, X-Origin" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-Content-Type-Options": [ "nosniff" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "content-length": [ - "201" + "205" ] }, "body": { - "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" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1M9jennO8LD4Utius2v9CVcA9TIxJNYk5Js7P772lYgY\",\n \"name\": \"Test WorksheetTest test_get_all_records_pad_one_key\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1M_AYyaodm6uBwwYWjhzq_5RJbsgdHhEIkxZ-ae7WUyQ?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1M9jennO8LD4Utius2v9CVcA9TIxJNYk5Js7P772lYgY?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -110,54 +110,54 @@ "message": "OK" }, "headers": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:39:38 GMT" + ], "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:42:21 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ - "3345" + "3349" ] }, "body": { - "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" + "string": "{\n \"spreadsheetId\": \"1M9jennO8LD4Utius2v9CVcA9TIxJNYk5Js7P772lYgY\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_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/1M9jennO8LD4Utius2v9CVcA9TIxJNYk5Js7P772lYgY/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1M_AYyaodm6uBwwYWjhzq_5RJbsgdHhEIkxZ-ae7WUyQ?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1M9jennO8LD4Utius2v9CVcA9TIxJNYk5Js7P772lYgY?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -183,54 +183,54 @@ "message": "OK" }, "headers": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:39:38 GMT" + ], "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:42:22 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ - "3345" + "3349" ] }, "body": { - "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" + "string": "{\n \"spreadsheetId\": \"1M9jennO8LD4Utius2v9CVcA9TIxJNYk5Js7P772lYgY\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_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/1M9jennO8LD4Utius2v9CVcA9TIxJNYk5Js7P772lYgY/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1M_AYyaodm6uBwwYWjhzq_5RJbsgdHhEIkxZ-ae7WUyQ/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1M9jennO8LD4Utius2v9CVcA9TIxJNYk5Js7P772lYgY/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -259,54 +259,54 @@ "message": "OK" }, "headers": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:39:38 GMT" + ], "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:42:22 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ "107" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1M_AYyaodm6uBwwYWjhzq_5RJbsgdHhEIkxZ-ae7WUyQ\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1M9jennO8LD4Utius2v9CVcA9TIxJNYk5Js7P772lYgY\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1M_AYyaodm6uBwwYWjhzq_5RJbsgdHhEIkxZ-ae7WUyQ:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1M9jennO8LD4Utius2v9CVcA9TIxJNYk5Js7P772lYgY:batchUpdate", "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 2, \"columnCount\": 4}}, \"fields\": \"gridProperties/rowCount,gridProperties/columnCount\"}}]}", "headers": { "User-Agent": [ @@ -338,55 +338,55 @@ "message": "OK" }, "headers": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:39:39 GMT" + ], "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:42:23 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ "97" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1M_AYyaodm6uBwwYWjhzq_5RJbsgdHhEIkxZ-ae7WUyQ\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1M9jennO8LD4Utius2v9CVcA9TIxJNYk5Js7P772lYgY\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "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]]}", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1M9jennO8LD4Utius2v9CVcA9TIxJNYk5Js7P772lYgY/values/%27Sheet1%27%21A1%3AD2?valueInputOption=RAW", + "body": "{\"values\": [[\"A1\", \"B1\", \"C1\"], [1, 2, 3, 4]], \"majorDimension\": null}", "headers": { "User-Agent": [ "python-requests/2.31.0" @@ -401,7 +401,7 @@ "keep-alive" ], "Content-Length": [ - "46" + "70" ], "Content-Type": [ "application/json" @@ -417,54 +417,54 @@ "message": "OK" }, "headers": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:39:39 GMT" + ], "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:42:23 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ "168" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1M_AYyaodm6uBwwYWjhzq_5RJbsgdHhEIkxZ-ae7WUyQ\",\n \"updatedRange\": \"Sheet1!A1:D2\",\n \"updatedRows\": 2,\n \"updatedColumns\": 4,\n \"updatedCells\": 7\n}\n" + "string": "{\n \"spreadsheetId\": \"1M9jennO8LD4Utius2v9CVcA9TIxJNYk5Js7P772lYgY\",\n \"updatedRange\": \"Sheet1!A1:D2\",\n \"updatedRows\": 2,\n \"updatedColumns\": 4,\n \"updatedCells\": 7\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1M_AYyaodm6uBwwYWjhzq_5RJbsgdHhEIkxZ-ae7WUyQ/values/%27Sheet1%27%212%3A2", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1M9jennO8LD4Utius2v9CVcA9TIxJNYk5Js7P772lYgY/values/%27Sheet1%27", "body": null, "headers": { "User-Agent": [ @@ -490,127 +490,54 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], - "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-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "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": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1M_AYyaodm6uBwwYWjhzq_5RJbsgdHhEIkxZ-ae7WUyQ/values/%27Sheet1%27%211%3A1", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" + "Date": [ + "Fri, 29 Dec 2023 18:39:39 GMT" ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:42:24 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ - "124" + "180" ] }, "body": { - "string": "{\n \"range\": \"Sheet1!A1:D1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"B1\",\n \"C1\"\n ]\n ]\n}\n" + "string": "{\n \"range\": \"Sheet1!A1:D2\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"B1\",\n \"C1\"\n ],\n [\n \"1\",\n \"2\",\n \"3\",\n \"4\"\n ]\n ]\n}\n" } } }, { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1M_AYyaodm6uBwwYWjhzq_5RJbsgdHhEIkxZ-ae7WUyQ?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1M9jennO8LD4Utius2v9CVcA9TIxJNYk5Js7P772lYgY?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -639,17 +566,14 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "X-XSS-Protection": [ "0" ], + "Content-Type": [ + "text/html" + ], "Date": [ - "Thu, 30 Nov 2023 14:42:25 GMT" + "Fri, 29 Dec 2023 18:39:40 GMT" ], "Pragma": [ "no-cache" @@ -657,11 +581,17 @@ "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Server": [ + "ESF" ], - "Content-Type": [ - "text/html" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "X-Frame-Options": [ + "SAMEORIGIN" ], "Content-Length": [ "0" @@ -669,11 +599,8 @@ "Vary": [ "Origin, X-Origin" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_get_records_pad_values.json b/tests/cassettes/WorksheetTest.test_get_all_records_pad_values.json similarity index 62% rename from tests/cassettes/WorksheetTest.test_get_records_pad_values.json rename to tests/cassettes/WorksheetTest.test_get_all_records_pad_values.json index a69e0e53f..1abb3ad4d 100644 --- a/tests/cassettes/WorksheetTest.test_get_records_pad_values.json +++ b/tests/cassettes/WorksheetTest.test_get_all_records_pad_values.json @@ -5,7 +5,7 @@ "request": { "method": "POST", "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_get_records_pad_values\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", + "body": "{\"name\": \"Test WorksheetTest test_get_all_records_pad_values\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", "headers": { "User-Agent": [ "python-requests/2.31.0" @@ -20,7 +20,7 @@ "keep-alive" ], "Content-Length": [ - "113" + "117" ], "Content-Type": [ "application/json" @@ -36,20 +36,14 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Transfer-Encoding": [ - "chunked" - ], "X-XSS-Protection": [ "0" ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], "Date": [ - "Thu, 30 Nov 2023 14:42:29 GMT" + "Fri, 29 Dec 2023 18:39:43 GMT" ], "Pragma": [ "no-cache" @@ -57,34 +51,40 @@ "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Server": [ + "ESF" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "Transfer-Encoding": [ + "chunked" ], - "Vary": [ - "Origin, X-Origin" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-Content-Type-Options": [ "nosniff" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "content-length": [ - "200" + "204" ] }, "body": { - "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" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1gYHgBIsmMexkhnZYsYBsgB-zuDAMXC0DJDYCHZwglyw\",\n \"name\": \"Test WorksheetTest test_get_all_records_pad_values\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1cj5KuLi8V_LWRsm7Guo-1FCZa6Rhyyunn_PxEv-DU0E?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1gYHgBIsmMexkhnZYsYBsgB-zuDAMXC0DJDYCHZwglyw?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -110,54 +110,54 @@ "message": "OK" }, "headers": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:39:43 GMT" + ], "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:42:29 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ - "3344" + "3348" ] }, "body": { - "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" + "string": "{\n \"spreadsheetId\": \"1gYHgBIsmMexkhnZYsYBsgB-zuDAMXC0DJDYCHZwglyw\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_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/1gYHgBIsmMexkhnZYsYBsgB-zuDAMXC0DJDYCHZwglyw/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1cj5KuLi8V_LWRsm7Guo-1FCZa6Rhyyunn_PxEv-DU0E?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1gYHgBIsmMexkhnZYsYBsgB-zuDAMXC0DJDYCHZwglyw?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -183,54 +183,54 @@ "message": "OK" }, "headers": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:39:43 GMT" + ], "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:42:30 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ - "3344" + "3348" ] }, "body": { - "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" + "string": "{\n \"spreadsheetId\": \"1gYHgBIsmMexkhnZYsYBsgB-zuDAMXC0DJDYCHZwglyw\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_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/1gYHgBIsmMexkhnZYsYBsgB-zuDAMXC0DJDYCHZwglyw/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1cj5KuLi8V_LWRsm7Guo-1FCZa6Rhyyunn_PxEv-DU0E/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1gYHgBIsmMexkhnZYsYBsgB-zuDAMXC0DJDYCHZwglyw/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -259,54 +259,54 @@ "message": "OK" }, "headers": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:39:44 GMT" + ], "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:42:30 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ "107" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1cj5KuLi8V_LWRsm7Guo-1FCZa6Rhyyunn_PxEv-DU0E\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1gYHgBIsmMexkhnZYsYBsgB-zuDAMXC0DJDYCHZwglyw\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1cj5KuLi8V_LWRsm7Guo-1FCZa6Rhyyunn_PxEv-DU0E:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1gYHgBIsmMexkhnZYsYBsgB-zuDAMXC0DJDYCHZwglyw:batchUpdate", "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 2, \"columnCount\": 4}}, \"fields\": \"gridProperties/rowCount,gridProperties/columnCount\"}}]}", "headers": { "User-Agent": [ @@ -338,55 +338,55 @@ "message": "OK" }, "headers": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:39:44 GMT" + ], "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:42:30 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ "97" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1cj5KuLi8V_LWRsm7Guo-1FCZa6Rhyyunn_PxEv-DU0E\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1gYHgBIsmMexkhnZYsYBsgB-zuDAMXC0DJDYCHZwglyw\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "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]]}", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1gYHgBIsmMexkhnZYsYBsgB-zuDAMXC0DJDYCHZwglyw/values/%27Sheet1%27%21A1%3AC2?valueInputOption=RAW", + "body": "{\"values\": [[\"A1\", \"B1\", \"C1\"], [1, 2]], \"majorDimension\": null}", "headers": { "User-Agent": [ "python-requests/2.31.0" @@ -401,7 +401,7 @@ "keep-alive" ], "Content-Length": [ - "40" + "64" ], "Content-Type": [ "application/json" @@ -417,54 +417,54 @@ "message": "OK" }, "headers": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:39:44 GMT" + ], "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:42:31 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ "168" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1cj5KuLi8V_LWRsm7Guo-1FCZa6Rhyyunn_PxEv-DU0E\",\n \"updatedRange\": \"Sheet1!A1:C2\",\n \"updatedRows\": 2,\n \"updatedColumns\": 3,\n \"updatedCells\": 5\n}\n" + "string": "{\n \"spreadsheetId\": \"1gYHgBIsmMexkhnZYsYBsgB-zuDAMXC0DJDYCHZwglyw\",\n \"updatedRange\": \"Sheet1!A1:C2\",\n \"updatedRows\": 2,\n \"updatedColumns\": 3,\n \"updatedCells\": 5\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1cj5KuLi8V_LWRsm7Guo-1FCZa6Rhyyunn_PxEv-DU0E/values/%27Sheet1%27%212%3A2", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1gYHgBIsmMexkhnZYsYBsgB-zuDAMXC0DJDYCHZwglyw/values/%27Sheet1%27", "body": null, "headers": { "User-Agent": [ @@ -490,127 +490,54 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], - "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-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "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": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1cj5KuLi8V_LWRsm7Guo-1FCZa6Rhyyunn_PxEv-DU0E/values/%27Sheet1%27%211%3A1", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" + "Date": [ + "Fri, 29 Dec 2023 18:39:44 GMT" ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:42:32 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ - "124" + "158" ] }, "body": { - "string": "{\n \"range\": \"Sheet1!A1:D1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"B1\",\n \"C1\"\n ]\n ]\n}\n" + "string": "{\n \"range\": \"Sheet1!A1:D2\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"B1\",\n \"C1\"\n ],\n [\n \"1\",\n \"2\"\n ]\n ]\n}\n" } } }, { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1cj5KuLi8V_LWRsm7Guo-1FCZa6Rhyyunn_PxEv-DU0E?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1gYHgBIsmMexkhnZYsYBsgB-zuDAMXC0DJDYCHZwglyw?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -639,17 +566,14 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "X-XSS-Protection": [ "0" ], + "Content-Type": [ + "text/html" + ], "Date": [ - "Thu, 30 Nov 2023 14:42:32 GMT" + "Fri, 29 Dec 2023 18:39:45 GMT" ], "Pragma": [ "no-cache" @@ -657,11 +581,17 @@ "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Server": [ + "ESF" ], - "Content-Type": [ - "text/html" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "X-Frame-Options": [ + "SAMEORIGIN" ], "Content-Length": [ "0" @@ -669,11 +599,8 @@ "Vary": [ "Origin, X-Origin" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ] }, "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 eb0131551..b23b79c27 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,20 +36,14 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Transfer-Encoding": [ - "chunked" - ], "X-XSS-Protection": [ "0" ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], "Date": [ - "Thu, 30 Nov 2023 14:41:36 GMT" + "Fri, 29 Dec 2023 18:39:48 GMT" ], "Pragma": [ "no-cache" @@ -57,34 +51,40 @@ "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Server": [ + "ESF" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "Transfer-Encoding": [ + "chunked" ], - "Vary": [ - "Origin, X-Origin" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-Content-Type-Options": [ "nosniff" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "content-length": [ "214" ] }, "body": { - "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" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1f7zKlUAxEFe6q2jbUe3UNQDbMZyt6EQvoqjs_dxK6Ro\",\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/1AkcONYRTktP9hCzoav_uvGo1lm2oGwH5ikPHnWhLsyc?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1f7zKlUAxEFe6q2jbUe3UNQDbMZyt6EQvoqjs_dxK6Ro?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -110,54 +110,54 @@ "message": "OK" }, "headers": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:39:48 GMT" + ], "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:41:37 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ "3358" ] }, "body": { - "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" + "string": "{\n \"spreadsheetId\": \"1f7zKlUAxEFe6q2jbUe3UNQDbMZyt6EQvoqjs_dxK6Ro\",\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/1f7zKlUAxEFe6q2jbUe3UNQDbMZyt6EQvoqjs_dxK6Ro/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1AkcONYRTktP9hCzoav_uvGo1lm2oGwH5ikPHnWhLsyc?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1f7zKlUAxEFe6q2jbUe3UNQDbMZyt6EQvoqjs_dxK6Ro?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -183,54 +183,54 @@ "message": "OK" }, "headers": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:39:48 GMT" + ], "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:41:37 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ "3358" ] }, "body": { - "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" + "string": "{\n \"spreadsheetId\": \"1f7zKlUAxEFe6q2jbUe3UNQDbMZyt6EQvoqjs_dxK6Ro\",\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/1f7zKlUAxEFe6q2jbUe3UNQDbMZyt6EQvoqjs_dxK6Ro/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1AkcONYRTktP9hCzoav_uvGo1lm2oGwH5ikPHnWhLsyc/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1f7zKlUAxEFe6q2jbUe3UNQDbMZyt6EQvoqjs_dxK6Ro/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -259,54 +259,54 @@ "message": "OK" }, "headers": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:39:49 GMT" + ], "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:41:38 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ "107" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1AkcONYRTktP9hCzoav_uvGo1lm2oGwH5ikPHnWhLsyc\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1f7zKlUAxEFe6q2jbUe3UNQDbMZyt6EQvoqjs_dxK6Ro\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1AkcONYRTktP9hCzoav_uvGo1lm2oGwH5ikPHnWhLsyc:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1f7zKlUAxEFe6q2jbUe3UNQDbMZyt6EQvoqjs_dxK6Ro: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": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:39:49 GMT" + ], "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:41:38 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ "97" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1AkcONYRTktP9hCzoav_uvGo1lm2oGwH5ikPHnWhLsyc\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1f7zKlUAxEFe6q2jbUe3UNQDbMZyt6EQvoqjs_dxK6Ro\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1AkcONYRTktP9hCzoav_uvGo1lm2oGwH5ikPHnWhLsyc/values/%27Sheet1%27%21A1%3AD2", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1f7zKlUAxEFe6q2jbUe3UNQDbMZyt6EQvoqjs_dxK6Ro/values/%27Sheet1%27%21A1%3AD2", "body": null, "headers": { "User-Agent": [ @@ -411,40 +411,40 @@ "message": "OK" }, "headers": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:39:49 GMT" + ], "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:41:39 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ "58" @@ -458,7 +458,7 @@ { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1AkcONYRTktP9hCzoav_uvGo1lm2oGwH5ikPHnWhLsyc/values/%27Sheet1%27%21A1%3AD2?valueInputOption=USER_ENTERED", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1f7zKlUAxEFe6q2jbUe3UNQDbMZyt6EQvoqjs_dxK6Ro/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": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:39:50 GMT" + ], "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:41:39 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ "168" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1AkcONYRTktP9hCzoav_uvGo1lm2oGwH5ikPHnWhLsyc\",\n \"updatedRange\": \"Sheet1!A1:D2\",\n \"updatedRows\": 2,\n \"updatedColumns\": 4,\n \"updatedCells\": 8\n}\n" + "string": "{\n \"spreadsheetId\": \"1f7zKlUAxEFe6q2jbUe3UNQDbMZyt6EQvoqjs_dxK6Ro\",\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/1AkcONYRTktP9hCzoav_uvGo1lm2oGwH5ikPHnWhLsyc/values/%27Sheet1%27%212%3A2", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1f7zKlUAxEFe6q2jbUe3UNQDbMZyt6EQvoqjs_dxK6Ro/values/%27Sheet1%27", "body": null, "headers": { "User-Agent": [ @@ -563,127 +563,54 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" + "X-XSS-Protection": [ + "0" ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Transfer-Encoding": [ - "chunked" - ], - "X-XSS-Protection": [ - "0" + "Content-Type": [ + "application/json; charset=UTF-8" ], "Date": [ - "Thu, 30 Nov 2023 14:41:40 GMT" + "Fri, 29 Dec 2023 18:39:50 GMT" ], - "Cache-Control": [ - "private" - ], - "Content-Type": [ - "application/json; charset=UTF-8" + "Server": [ + "ESF" ], "x-l2-request-path": [ "l2-managed-6" ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "X-Content-Type-Options": [ - "nosniff" + "Transfer-Encoding": [ + "chunked" ], "Alt-Svc": [ "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "content-length": [ - "135" - ] - }, - "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" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1AkcONYRTktP9hCzoav_uvGo1lm2oGwH5ikPHnWhLsyc/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-Content-Type-Options": [ + "nosniff" ], "X-Frame-Options": [ "SAMEORIGIN" ], - "Transfer-Encoding": [ - "chunked" - ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:41:40 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" + "Cache-Control": [ + "private" ], "content-length": [ - "147" + "206" ] }, "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!A1:D2\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"2\",\n \"2020-01-01\",\n \"string\",\n \"53\"\n ],\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/1AkcONYRTktP9hCzoav_uvGo1lm2oGwH5ikPHnWhLsyc/values/%27Sheet1%27%212%3A2?valueRenderOption=UNFORMATTED_VALUE", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1f7zKlUAxEFe6q2jbUe3UNQDbMZyt6EQvoqjs_dxK6Ro/values/%27Sheet1%27?valueRenderOption=UNFORMATTED_VALUE", "body": null, "headers": { "User-Agent": [ @@ -709,127 +636,54 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Transfer-Encoding": [ - "chunked" - ], "X-XSS-Protection": [ "0" ], - "Date": [ - "Thu, 30 Nov 2023 14:41:41 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": [ - "124" - ] - }, - "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" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1AkcONYRTktP9hCzoav_uvGo1lm2oGwH5ikPHnWhLsyc/values/%27Sheet1%27%211%3A1?valueRenderOption=UNFORMATTED_VALUE", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" + "Date": [ + "Fri, 29 Dec 2023 18:39:50 GMT" ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:41:41 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ - "136" + "184" ] }, "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!A1:D2\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n 2,\n 43831,\n \"string\",\n 53\n ],\n [\n 1.5,\n 0.12,\n 36162\n ]\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1AkcONYRTktP9hCzoav_uvGo1lm2oGwH5ikPHnWhLsyc/values/%27Sheet1%27%212%3A2?valueRenderOption=FORMULA", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1f7zKlUAxEFe6q2jbUe3UNQDbMZyt6EQvoqjs_dxK6Ro/values/%27Sheet1%27?valueRenderOption=FORMULA", "body": null, "headers": { "User-Agent": [ @@ -855,127 +709,54 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Transfer-Encoding": [ - "chunked" - ], "X-XSS-Protection": [ "0" ], - "Date": [ - "Thu, 30 Nov 2023 14:41:42 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": [ - "127" - ] - }, - "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" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1AkcONYRTktP9hCzoav_uvGo1lm2oGwH5ikPHnWhLsyc/values/%27Sheet1%27%211%3A1?valueRenderOption=FORMULA", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" + "Date": [ + "Fri, 29 Dec 2023 18:39:51 GMT" ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:41:42 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ - "141" + "192" ] }, "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!A1:D2\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"=4/2\",\n 43831,\n \"string\",\n 53\n ],\n [\n \"=3/2\",\n 0.12,\n 36162\n ]\n ]\n}\n" } } }, { "request": { "method": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1AkcONYRTktP9hCzoav_uvGo1lm2oGwH5ikPHnWhLsyc?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1f7zKlUAxEFe6q2jbUe3UNQDbMZyt6EQvoqjs_dxK6Ro?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -1004,17 +785,14 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "X-XSS-Protection": [ "0" ], + "Content-Type": [ + "text/html" + ], "Date": [ - "Thu, 30 Nov 2023 14:41:43 GMT" + "Fri, 29 Dec 2023 18:39:51 GMT" ], "Pragma": [ "no-cache" @@ -1022,11 +800,17 @@ "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Server": [ + "ESF" ], - "Content-Type": [ - "text/html" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "X-Frame-Options": [ + "SAMEORIGIN" ], "Content-Length": [ "0" @@ -1034,11 +818,8 @@ "Vary": [ "Origin, X-Origin" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_get_all_records_with_all_values_blank.json b/tests/cassettes/WorksheetTest.test_get_all_records_with_all_values_blank.json new file mode 100644 index 000000000..2843c8048 --- /dev/null +++ b/tests/cassettes/WorksheetTest.test_get_all_records_with_all_values_blank.json @@ -0,0 +1,612 @@ +{ + "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_all_values_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": [ + "128" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:39:55 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "content-length": [ + "215" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1ZW-KCcT5Y0qCm02ft1RwnQqfG8w7PoDy8Mb4ifPfAJk\",\n \"name\": \"Test WorksheetTest test_get_all_records_with_all_values_blank\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ZW-KCcT5Y0qCm02ft1RwnQqfG8w7PoDy8Mb4ifPfAJk?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": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:39:55 GMT" + ], + "Server": [ + "ESF" + ], + "x-l2-request-path": [ + "l2-managed-6" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Cache-Control": [ + "private" + ], + "content-length": [ + "3359" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1ZW-KCcT5Y0qCm02ft1RwnQqfG8w7PoDy8Mb4ifPfAJk\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_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/1ZW-KCcT5Y0qCm02ft1RwnQqfG8w7PoDy8Mb4ifPfAJk/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ZW-KCcT5Y0qCm02ft1RwnQqfG8w7PoDy8Mb4ifPfAJk?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": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:39:56 GMT" + ], + "Server": [ + "ESF" + ], + "x-l2-request-path": [ + "l2-managed-6" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Cache-Control": [ + "private" + ], + "content-length": [ + "3359" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1ZW-KCcT5Y0qCm02ft1RwnQqfG8w7PoDy8Mb4ifPfAJk\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_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/1ZW-KCcT5Y0qCm02ft1RwnQqfG8w7PoDy8Mb4ifPfAJk/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ZW-KCcT5Y0qCm02ft1RwnQqfG8w7PoDy8Mb4ifPfAJk/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": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:39:56 GMT" + ], + "Server": [ + "ESF" + ], + "x-l2-request-path": [ + "l2-managed-6" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Cache-Control": [ + "private" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1ZW-KCcT5Y0qCm02ft1RwnQqfG8w7PoDy8Mb4ifPfAJk\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ZW-KCcT5Y0qCm02ft1RwnQqfG8w7PoDy8Mb4ifPfAJk: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": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:39:56 GMT" + ], + "Server": [ + "ESF" + ], + "x-l2-request-path": [ + "l2-managed-6" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Cache-Control": [ + "private" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1ZW-KCcT5Y0qCm02ft1RwnQqfG8w7PoDy8Mb4ifPfAJk\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ZW-KCcT5Y0qCm02ft1RwnQqfG8w7PoDy8Mb4ifPfAJk/values/%27Sheet1%27%21A1%3AD4?valueInputOption=RAW", + "body": "{\"values\": [[\"a\", \"b\", \"c\", \"d\"], [\"\", \"\", \"\", \"\"], [\"\", \"\", \"\", \"\"], [\"\", \"\", \"\", \"\"]], \"majorDimension\": null}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "Content-Length": [ + "112" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:39:57 GMT" + ], + "Server": [ + "ESF" + ], + "x-l2-request-path": [ + "l2-managed-6" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Cache-Control": [ + "private" + ], + "content-length": [ + "169" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1ZW-KCcT5Y0qCm02ft1RwnQqfG8w7PoDy8Mb4ifPfAJk\",\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/1ZW-KCcT5Y0qCm02ft1RwnQqfG8w7PoDy8Mb4ifPfAJk/values/%27Sheet1%27", + "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-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:39:57 GMT" + ], + "Server": [ + "ESF" + ], + "x-l2-request-path": [ + "l2-managed-6" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Cache-Control": [ + "private" + ], + "content-length": [ + "132" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:D4\",\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/1ZW-KCcT5Y0qCm02ft1RwnQqfG8w7PoDy8Mb4ifPfAJk?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": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "text/html" + ], + "Date": [ + "Fri, 29 Dec 2023 18:39:58 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Server": [ + "ESF" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Content-Length": [ + "0" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ] + }, + "body": { + "string": "" + } + } + } + ] +} 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 index f87476998..12dab39ae 100644 --- 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 @@ -36,20 +36,14 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Transfer-Encoding": [ - "chunked" - ], "X-XSS-Protection": [ "0" ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], "Date": [ - "Thu, 30 Nov 2023 14:41:46 GMT" + "Fri, 29 Dec 2023 18:40:02 GMT" ], "Pragma": [ "no-cache" @@ -57,34 +51,40 @@ "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Server": [ + "ESF" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "Transfer-Encoding": [ + "chunked" ], - "Vary": [ - "Origin, X-Origin" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-Content-Type-Options": [ "nosniff" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "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" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1DOeeLJTGpoqn-zcX22dL7_uHLSm_asbJPu43c5D1Ni4\",\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", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1DOeeLJTGpoqn-zcX22dL7_uHLSm_asbJPu43c5D1Ni4?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -110,54 +110,54 @@ "message": "OK" }, "headers": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:40:02 GMT" + ], "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:41:46 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "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" + "string": "{\n \"spreadsheetId\": \"1DOeeLJTGpoqn-zcX22dL7_uHLSm_asbJPu43c5D1Ni4\",\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/1DOeeLJTGpoqn-zcX22dL7_uHLSm_asbJPu43c5D1Ni4/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JlbB2xCGLVV15Ni7c_5Usa_g1fIqMRWhnHbMeV2HNww?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1DOeeLJTGpoqn-zcX22dL7_uHLSm_asbJPu43c5D1Ni4?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -183,54 +183,54 @@ "message": "OK" }, "headers": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:40:02 GMT" + ], "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:41:46 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "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" + "string": "{\n \"spreadsheetId\": \"1DOeeLJTGpoqn-zcX22dL7_uHLSm_asbJPu43c5D1Ni4\",\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/1DOeeLJTGpoqn-zcX22dL7_uHLSm_asbJPu43c5D1Ni4/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JlbB2xCGLVV15Ni7c_5Usa_g1fIqMRWhnHbMeV2HNww/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1DOeeLJTGpoqn-zcX22dL7_uHLSm_asbJPu43c5D1Ni4/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -259,54 +259,54 @@ "message": "OK" }, "headers": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:40:03 GMT" + ], "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:41:47 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ "107" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1JlbB2xCGLVV15Ni7c_5Usa_g1fIqMRWhnHbMeV2HNww\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1DOeeLJTGpoqn-zcX22dL7_uHLSm_asbJPu43c5D1Ni4\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1JlbB2xCGLVV15Ni7c_5Usa_g1fIqMRWhnHbMeV2HNww:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1DOeeLJTGpoqn-zcX22dL7_uHLSm_asbJPu43c5D1Ni4: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": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:40:03 GMT" + ], "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:41:48 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ "97" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1JlbB2xCGLVV15Ni7c_5Usa_g1fIqMRWhnHbMeV2HNww\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1DOeeLJTGpoqn-zcX22dL7_uHLSm_asbJPu43c5D1Ni4\",\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]]}", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1DOeeLJTGpoqn-zcX22dL7_uHLSm_asbJPu43c5D1Ni4/values/%27Sheet1%27%21A1%3AD4?valueInputOption=RAW", + "body": "{\"values\": [[\"A1\", \"faff\", \"\", \"\"], [1, \"b2\", 1.45, \"\"], [\"\", \"\", \"\", \"\"], [\"A4\", 0.4, \"\", 4]], \"majorDimension\": null}", "headers": { "User-Agent": [ "python-requests/2.31.0" @@ -401,7 +401,7 @@ "keep-alive" ], "Content-Length": [ - "95" + "119" ], "Content-Type": [ "application/json" @@ -417,54 +417,54 @@ "message": "OK" }, "headers": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:40:03 GMT" + ], "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:41:49 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "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" + "string": "{\n \"spreadsheetId\": \"1DOeeLJTGpoqn-zcX22dL7_uHLSm_asbJPu43c5D1Ni4\",\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", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1DOeeLJTGpoqn-zcX22dL7_uHLSm_asbJPu43c5D1Ni4/values/%27Sheet1%27", "body": null, "headers": { "User-Agent": [ @@ -490,127 +490,54 @@ "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" + "Date": [ + "Fri, 29 Dec 2023 18:40:04 GMT" ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:41:49 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ - "114" + "229" ] }, "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!A1:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"faff\"\n ],\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%212%3A4", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1DOeeLJTGpoqn-zcX22dL7_uHLSm_asbJPu43c5D1Ni4/values/%27Sheet1%27", "body": null, "headers": { "User-Agent": [ @@ -636,127 +563,54 @@ "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" + "Date": [ + "Fri, 29 Dec 2023 18:40:04 GMT" ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:41:50 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ - "114" + "229" ] }, "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!A1:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"faff\"\n ],\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/1JlbB2xCGLVV15Ni7c_5Usa_g1fIqMRWhnHbMeV2HNww?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1DOeeLJTGpoqn-zcX22dL7_uHLSm_asbJPu43c5D1Ni4?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -785,17 +639,14 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "X-XSS-Protection": [ "0" ], + "Content-Type": [ + "text/html" + ], "Date": [ - "Thu, 30 Nov 2023 14:41:51 GMT" + "Fri, 29 Dec 2023 18:40:05 GMT" ], "Pragma": [ "no-cache" @@ -803,11 +654,17 @@ "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Server": [ + "ESF" ], - "Content-Type": [ - "text/html" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "X-Frame-Options": [ + "SAMEORIGIN" ], "Content-Length": [ "0" @@ -815,11 +672,8 @@ "Vary": [ "Origin, X-Origin" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_get_all_records_with_keys_blank.json b/tests/cassettes/WorksheetTest.test_get_all_records_with_keys_blank.json index 8479d168e..b4353ce23 100644 --- a/tests/cassettes/WorksheetTest.test_get_all_records_with_keys_blank.json +++ b/tests/cassettes/WorksheetTest.test_get_all_records_with_keys_blank.json @@ -36,20 +36,14 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Transfer-Encoding": [ - "chunked" - ], "X-XSS-Protection": [ "0" ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], "Date": [ - "Thu, 30 Nov 2023 14:41:53 GMT" + "Fri, 29 Dec 2023 18:40:08 GMT" ], "Pragma": [ "no-cache" @@ -57,34 +51,40 @@ "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Server": [ + "ESF" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "Transfer-Encoding": [ + "chunked" ], - "Vary": [ - "Origin, X-Origin" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], "X-Content-Type-Options": [ "nosniff" ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ], "content-length": [ "209" ] }, "body": { - "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" + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1uLSQE8WPTrqhEJiD_NXXiCKG-2fRiOAe02mYLRPts8U\",\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/1xL6b24GxqacAld6VSjXkxKNY7pbu4RXfL7jUoTpDs1o?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1uLSQE8WPTrqhEJiD_NXXiCKG-2fRiOAe02mYLRPts8U?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -110,54 +110,54 @@ "message": "OK" }, "headers": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:40:09 GMT" + ], "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:41:54 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ "3353" ] }, "body": { - "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" + "string": "{\n \"spreadsheetId\": \"1uLSQE8WPTrqhEJiD_NXXiCKG-2fRiOAe02mYLRPts8U\",\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/1uLSQE8WPTrqhEJiD_NXXiCKG-2fRiOAe02mYLRPts8U/edit\"\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1xL6b24GxqacAld6VSjXkxKNY7pbu4RXfL7jUoTpDs1o?includeGridData=false", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1uLSQE8WPTrqhEJiD_NXXiCKG-2fRiOAe02mYLRPts8U?includeGridData=false", "body": null, "headers": { "User-Agent": [ @@ -183,54 +183,54 @@ "message": "OK" }, "headers": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:40:09 GMT" + ], "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:41:54 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ "3353" ] }, "body": { - "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" + "string": "{\n \"spreadsheetId\": \"1uLSQE8WPTrqhEJiD_NXXiCKG-2fRiOAe02mYLRPts8U\",\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/1uLSQE8WPTrqhEJiD_NXXiCKG-2fRiOAe02mYLRPts8U/edit\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1xL6b24GxqacAld6VSjXkxKNY7pbu4RXfL7jUoTpDs1o/values/%27Sheet1%27:clear", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1uLSQE8WPTrqhEJiD_NXXiCKG-2fRiOAe02mYLRPts8U/values/%27Sheet1%27:clear", "body": null, "headers": { "User-Agent": [ @@ -259,54 +259,54 @@ "message": "OK" }, "headers": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:40:09 GMT" + ], "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:41:54 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ "107" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1xL6b24GxqacAld6VSjXkxKNY7pbu4RXfL7jUoTpDs1o\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + "string": "{\n \"spreadsheetId\": \"1uLSQE8WPTrqhEJiD_NXXiCKG-2fRiOAe02mYLRPts8U\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" } } }, { "request": { "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1xL6b24GxqacAld6VSjXkxKNY7pbu4RXfL7jUoTpDs1o:batchUpdate", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1uLSQE8WPTrqhEJiD_NXXiCKG-2fRiOAe02mYLRPts8U: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-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:40:10 GMT" + ], "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:41:55 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ "97" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1xL6b24GxqacAld6VSjXkxKNY7pbu4RXfL7jUoTpDs1o\",\n \"replies\": [\n {}\n ]\n}\n" + "string": "{\n \"spreadsheetId\": \"1uLSQE8WPTrqhEJiD_NXXiCKG-2fRiOAe02mYLRPts8U\",\n \"replies\": [\n {}\n ]\n}\n" } } }, { "request": { "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1xL6b24GxqacAld6VSjXkxKNY7pbu4RXfL7jUoTpDs1o/values/%27Sheet1%27%21A1%3AD4", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1uLSQE8WPTrqhEJiD_NXXiCKG-2fRiOAe02mYLRPts8U/values/%27Sheet1%27%21A1%3AD4", "body": null, "headers": { "User-Agent": [ @@ -411,40 +411,40 @@ "message": "OK" }, "headers": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:40:10 GMT" + ], "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:41:55 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ "58" @@ -458,7 +458,7 @@ { "request": { "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1xL6b24GxqacAld6VSjXkxKNY7pbu4RXfL7jUoTpDs1o/values/%27Sheet1%27%21A1%3AD4?valueInputOption=RAW", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1uLSQE8WPTrqhEJiD_NXXiCKG-2fRiOAe02mYLRPts8U/values/%27Sheet1%27%21A1%3AD4?valueInputOption=RAW", "body": "{\"values\": [[\"\", \"\", \"\", \"\"], [\"c\", \"d\", \"e\", \"f\"], [\"g\", \"h\", \"i\", \"j\"], [\"k\", \"l\", \"m\", \"\"]]}", "headers": { "User-Agent": [ @@ -490,54 +490,54 @@ "message": "OK" }, "headers": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:40:10 GMT" + ], "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:41:56 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ "169" ] }, "body": { - "string": "{\n \"spreadsheetId\": \"1xL6b24GxqacAld6VSjXkxKNY7pbu4RXfL7jUoTpDs1o\",\n \"updatedRange\": \"Sheet1!A1:D4\",\n \"updatedRows\": 4,\n \"updatedColumns\": 4,\n \"updatedCells\": 16\n}\n" + "string": "{\n \"spreadsheetId\": \"1uLSQE8WPTrqhEJiD_NXXiCKG-2fRiOAe02mYLRPts8U\",\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/1xL6b24GxqacAld6VSjXkxKNY7pbu4RXfL7jUoTpDs1o/values/%27Sheet1%27%212%3A4", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1uLSQE8WPTrqhEJiD_NXXiCKG-2fRiOAe02mYLRPts8U/values/%27Sheet1%27", "body": null, "headers": { "User-Agent": [ @@ -563,127 +563,54 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Transfer-Encoding": [ - "chunked" - ], "X-XSS-Protection": [ "0" ], - "Date": [ - "Thu, 30 Nov 2023 14:41:57 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": [ - "233" - ] - }, - "body": { - "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/1xL6b24GxqacAld6VSjXkxKNY7pbu4RXfL7jUoTpDs1o/values/%27Sheet1%27%211%3A1", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" + "Date": [ + "Fri, 29 Dec 2023 18:40:11 GMT" ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:41:57 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ - "58" + "241" ] }, "body": { - "string": "{\n \"range\": \"Sheet1!A1:D1\",\n \"majorDimension\": \"ROWS\"\n}\n" + "string": "{\n \"range\": \"Sheet1!A1:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [],\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/1xL6b24GxqacAld6VSjXkxKNY7pbu4RXfL7jUoTpDs1o/values/%27Sheet1%27%212%3A4", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1uLSQE8WPTrqhEJiD_NXXiCKG-2fRiOAe02mYLRPts8U/values/%27Sheet1%27", "body": null, "headers": { "User-Agent": [ @@ -709,127 +636,54 @@ "message": "OK" }, "headers": { - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Transfer-Encoding": [ - "chunked" - ], "X-XSS-Protection": [ "0" ], - "Date": [ - "Thu, 30 Nov 2023 14:41:58 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": [ - "233" - ] - }, - "body": { - "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/1xL6b24GxqacAld6VSjXkxKNY7pbu4RXfL7jUoTpDs1o/values/%27Sheet1%27%211%3A1", - "body": null, - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" + "Date": [ + "Fri, 29 Dec 2023 18:40:11 GMT" ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { "Server": [ "ESF" ], - "X-Frame-Options": [ - "SAMEORIGIN" + "x-l2-request-path": [ + "l2-managed-6" ], "Transfer-Encoding": [ "chunked" ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Thu, 30 Nov 2023 14:41:58 GMT" - ], - "Cache-Control": [ - "private" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" ], - "Content-Type": [ - "application/json; charset=UTF-8" + "X-Content-Type-Options": [ + "nosniff" ], - "x-l2-request-path": [ - "l2-managed-6" + "X-Frame-Options": [ + "SAMEORIGIN" ], "Vary": [ "Origin", "X-Origin", "Referer" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "private" ], "content-length": [ - "58" + "241" ] }, "body": { - "string": "{\n \"range\": \"Sheet1!A1:D1\",\n \"majorDimension\": \"ROWS\"\n}\n" + "string": "{\n \"range\": \"Sheet1!A1:D4\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [],\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": "DELETE", - "uri": "https://www.googleapis.com/drive/v3/files/1xL6b24GxqacAld6VSjXkxKNY7pbu4RXfL7jUoTpDs1o?supportsAllDrives=True", + "uri": "https://www.googleapis.com/drive/v3/files/1uLSQE8WPTrqhEJiD_NXXiCKG-2fRiOAe02mYLRPts8U?supportsAllDrives=True", "body": null, "headers": { "User-Agent": [ @@ -858,17 +712,14 @@ "message": "No Content" }, "headers": { - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], "X-XSS-Protection": [ "0" ], + "Content-Type": [ + "text/html" + ], "Date": [ - "Thu, 30 Nov 2023 14:41:59 GMT" + "Fri, 29 Dec 2023 18:40:12 GMT" ], "Pragma": [ "no-cache" @@ -876,11 +727,17 @@ "Expires": [ "Mon, 01 Jan 1990 00:00:00 GMT" ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" + "Server": [ + "ESF" ], - "Content-Type": [ - "text/html" + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "X-Frame-Options": [ + "SAMEORIGIN" ], "Content-Length": [ "0" @@ -888,11 +745,8 @@ "Vary": [ "Origin, X-Origin" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" ] }, "body": { diff --git a/tests/cassettes/WorksheetTest.test_get_all_records_with_some_values_blank.json b/tests/cassettes/WorksheetTest.test_get_all_records_with_some_values_blank.json new file mode 100644 index 000000000..3e6427863 --- /dev/null +++ b/tests/cassettes/WorksheetTest.test_get_all_records_with_some_values_blank.json @@ -0,0 +1,612 @@ +{ + "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_some_values_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": [ + "129" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:40:14 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Server": [ + "ESF" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ], + "content-length": [ + "216" + ] + }, + "body": { + "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1YT5PoW7SJjk6KxQLIWe1jBpduVRF5Sy3Y0LPU0Lfr4k\",\n \"name\": \"Test WorksheetTest test_get_all_records_with_some_values_blank\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1YT5PoW7SJjk6KxQLIWe1jBpduVRF5Sy3Y0LPU0Lfr4k?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": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:40:14 GMT" + ], + "Server": [ + "ESF" + ], + "x-l2-request-path": [ + "l2-managed-6" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Cache-Control": [ + "private" + ], + "content-length": [ + "3360" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1YT5PoW7SJjk6KxQLIWe1jBpduVRF5Sy3Y0LPU0Lfr4k\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_with_some_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/1YT5PoW7SJjk6KxQLIWe1jBpduVRF5Sy3Y0LPU0Lfr4k/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1YT5PoW7SJjk6KxQLIWe1jBpduVRF5Sy3Y0LPU0Lfr4k?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": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:40:14 GMT" + ], + "Server": [ + "ESF" + ], + "x-l2-request-path": [ + "l2-managed-6" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Cache-Control": [ + "private" + ], + "content-length": [ + "3360" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1YT5PoW7SJjk6KxQLIWe1jBpduVRF5Sy3Y0LPU0Lfr4k\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_all_records_with_some_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/1YT5PoW7SJjk6KxQLIWe1jBpduVRF5Sy3Y0LPU0Lfr4k/edit\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1YT5PoW7SJjk6KxQLIWe1jBpduVRF5Sy3Y0LPU0Lfr4k/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": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:40:15 GMT" + ], + "Server": [ + "ESF" + ], + "x-l2-request-path": [ + "l2-managed-6" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Cache-Control": [ + "private" + ], + "content-length": [ + "107" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1YT5PoW7SJjk6KxQLIWe1jBpduVRF5Sy3Y0LPU0Lfr4k\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" + } + } + }, + { + "request": { + "method": "POST", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1YT5PoW7SJjk6KxQLIWe1jBpduVRF5Sy3Y0LPU0Lfr4k:batchUpdate", + "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 6, \"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": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:40:15 GMT" + ], + "Server": [ + "ESF" + ], + "x-l2-request-path": [ + "l2-managed-6" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Cache-Control": [ + "private" + ], + "content-length": [ + "97" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1YT5PoW7SJjk6KxQLIWe1jBpduVRF5Sy3Y0LPU0Lfr4k\",\n \"replies\": [\n {}\n ]\n}\n" + } + } + }, + { + "request": { + "method": "PUT", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1YT5PoW7SJjk6KxQLIWe1jBpduVRF5Sy3Y0LPU0Lfr4k/values/%27Sheet1%27%21A1%3AD6?valueInputOption=RAW", + "body": "{\"values\": [[\"a\", \"b\", \"c\", \"d\"], [\"x\", \"y\", \"z\", \"\"], [\"\", \"\", \"\", \"\"], [\"\", \"\", \"\", \"\"], [\"\", \"\", \"\", \"\"], [\"\", \"\", \"\", \"\"]], \"majorDimension\": null}", + "headers": { + "User-Agent": [ + "python-requests/2.31.0" + ], + "Accept-Encoding": [ + "gzip, deflate" + ], + "Accept": [ + "*/*" + ], + "Connection": [ + "keep-alive" + ], + "Content-Length": [ + "151" + ], + "Content-Type": [ + "application/json" + ], + "authorization": [ + "" + ] + } + }, + "response": { + "status": { + "code": 200, + "message": "OK" + }, + "headers": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:40:16 GMT" + ], + "Server": [ + "ESF" + ], + "x-l2-request-path": [ + "l2-managed-6" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Cache-Control": [ + "private" + ], + "content-length": [ + "169" + ] + }, + "body": { + "string": "{\n \"spreadsheetId\": \"1YT5PoW7SJjk6KxQLIWe1jBpduVRF5Sy3Y0LPU0Lfr4k\",\n \"updatedRange\": \"Sheet1!A1:D6\",\n \"updatedRows\": 6,\n \"updatedColumns\": 4,\n \"updatedCells\": 24\n}\n" + } + } + }, + { + "request": { + "method": "GET", + "uri": "https://sheets.googleapis.com/v4/spreadsheets/1YT5PoW7SJjk6KxQLIWe1jBpduVRF5Sy3Y0LPU0Lfr4k/values/%27Sheet1%27", + "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-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "application/json; charset=UTF-8" + ], + "Date": [ + "Fri, 29 Dec 2023 18:40:16 GMT" + ], + "Server": [ + "ESF" + ], + "x-l2-request-path": [ + "l2-managed-6" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Vary": [ + "Origin", + "X-Origin", + "Referer" + ], + "Cache-Control": [ + "private" + ], + "content-length": [ + "177" + ] + }, + "body": { + "string": "{\n \"range\": \"Sheet1!A1:D6\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"a\",\n \"b\",\n \"c\",\n \"d\"\n ],\n [\n \"x\",\n \"y\",\n \"z\"\n ]\n ]\n}\n" + } + } + }, + { + "request": { + "method": "DELETE", + "uri": "https://www.googleapis.com/drive/v3/files/1YT5PoW7SJjk6KxQLIWe1jBpduVRF5Sy3Y0LPU0Lfr4k?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": { + "X-XSS-Protection": [ + "0" + ], + "Content-Type": [ + "text/html" + ], + "Date": [ + "Fri, 29 Dec 2023 18:40:16 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Expires": [ + "Mon, 01 Jan 1990 00:00:00 GMT" + ], + "Server": [ + "ESF" + ], + "Alt-Svc": [ + "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "X-Frame-Options": [ + "SAMEORIGIN" + ], + "Content-Length": [ + "0" + ], + "Vary": [ + "Origin, X-Origin" + ], + "Cache-Control": [ + "no-cache, no-store, max-age=0, must-revalidate" + ] + }, + "body": { + "string": "" + } + } + } + ] +} diff --git a/tests/cassettes/WorksheetTest.test_get_records.json b/tests/cassettes/WorksheetTest.test_get_records.json deleted file mode 100644 index 8e9c9711d..000000000 --- a/tests/cassettes/WorksheetTest.test_get_records.json +++ /dev/null @@ -1,1269 +0,0 @@ -{ - "version": 1, - "interactions": [ - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_get_records\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "Content-Length": [ - "102" - ], - "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: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\": \"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/1MJHCoDmIDB5w-OBorcLDFZOLlO5UwB2ib-vy1I6sQU0?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:42:01 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": [ - "3333" - ] - }, - "body": { - "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/1MJHCoDmIDB5w-OBorcLDFZOLlO5UwB2ib-vy1I6sQU0?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:42:02 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": [ - "3333" - ] - }, - "body": { - "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/1MJHCoDmIDB5w-OBorcLDFZOLlO5UwB2ib-vy1I6sQU0/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:42:03 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\": \"1MJHCoDmIDB5w-OBorcLDFZOLlO5UwB2ib-vy1I6sQU0\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "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": [ - "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:42:03 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\": \"1MJHCoDmIDB5w-OBorcLDFZOLlO5UwB2ib-vy1I6sQU0\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "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" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "Content-Length": [ - "79" - ], - "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:42:04 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\": \"1MJHCoDmIDB5w-OBorcLDFZOLlO5UwB2ib-vy1I6sQU0\",\n \"updatedRange\": \"Sheet1!A1:C5\",\n \"updatedRows\": 5,\n \"updatedColumns\": 3,\n \"updatedCells\": 15\n}\n" - } - } - }, - { - "request": { - "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" - ], - "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:42:04 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": [ - "166" - ] - }, - "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" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1MJHCoDmIDB5w-OBorcLDFZOLlO5UwB2ib-vy1I6sQU0/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:42:05 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": [ - "124" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:C1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"B1\",\n \"C1\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1MJHCoDmIDB5w-OBorcLDFZOLlO5UwB2ib-vy1I6sQU0/values/%27Sheet1%27%213%3A5", - "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:42:06 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": [ - "214" - ] - }, - "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" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1MJHCoDmIDB5w-OBorcLDFZOLlO5UwB2ib-vy1I6sQU0/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:42:06 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": [ - "124" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:C1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"B1\",\n \"C1\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1MJHCoDmIDB5w-OBorcLDFZOLlO5UwB2ib-vy1I6sQU0/values/%27Sheet1%27%213%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:42:07 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": [ - "166" - ] - }, - "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" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1MJHCoDmIDB5w-OBorcLDFZOLlO5UwB2ib-vy1I6sQU0/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:42:07 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": [ - "124" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:C1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"B1\",\n \"C1\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1MJHCoDmIDB5w-OBorcLDFZOLlO5UwB2ib-vy1I6sQU0/values/%27Sheet1%27%213%3A3", - "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:42:08 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": [ - "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/1MJHCoDmIDB5w-OBorcLDFZOLlO5UwB2ib-vy1I6sQU0/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:42:08 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": [ - "124" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A1:C1\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"A1\",\n \"B1\",\n \"C1\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1MJHCoDmIDB5w-OBorcLDFZOLlO5UwB2ib-vy1I6sQU0/values/%27Sheet1%27%213%3A5?valueRenderOption=UNFORMATTED_VALUE", - "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:42:09 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": [ - "196" - ] - }, - "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" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1MJHCoDmIDB5w-OBorcLDFZOLlO5UwB2ib-vy1I6sQU0/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" - ], - "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:42:09 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": [ - "115" - ] - }, - "body": { - "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/1MJHCoDmIDB5w-OBorcLDFZOLlO5UwB2ib-vy1I6sQU0?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: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" - ], - "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_records_with_all_values_blank.json b/tests/cassettes/WorksheetTest.test_get_records_with_all_values_blank.json deleted file mode 100644 index f784d0a65..000000000 --- a/tests/cassettes/WorksheetTest.test_get_records_with_all_values_blank.json +++ /dev/null @@ -1,977 +0,0 @@ -{ - "version": 1, - "interactions": [ - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "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" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "Content-Length": [ - "124" - ], - "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:42:35 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": [ - "211" - ] - }, - "body": { - "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/1faFC7YUvsSl-1fxWB355dcjbFay6uC3c6C8i7RqDZ78?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:42:36 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": [ - "3355" - ] - }, - "body": { - "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/1faFC7YUvsSl-1fxWB355dcjbFay6uC3c6C8i7RqDZ78?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:42:36 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": [ - "3355" - ] - }, - "body": { - "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/1faFC7YUvsSl-1fxWB355dcjbFay6uC3c6C8i7RqDZ78/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:42:36 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\": \"1faFC7YUvsSl-1fxWB355dcjbFay6uC3c6C8i7RqDZ78\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "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": [ - "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:42:37 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\": \"1faFC7YUvsSl-1fxWB355dcjbFay6uC3c6C8i7RqDZ78\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "PUT", - "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" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "Content-Length": [ - "88" - ], - "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:42:37 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\": \"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/1faFC7YUvsSl-1fxWB355dcjbFay6uC3c6C8i7RqDZ78/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:42:38 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": [ - "58" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A2:D4\",\n \"majorDimension\": \"ROWS\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1faFC7YUvsSl-1fxWB355dcjbFay6uC3c6C8i7RqDZ78/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:42:38 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": [ - "132" - ] - }, - "body": { - "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/1faFC7YUvsSl-1fxWB355dcjbFay6uC3c6C8i7RqDZ78/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:42:39 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": [ - "58" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A2:D4\",\n \"majorDimension\": \"ROWS\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1faFC7YUvsSl-1fxWB355dcjbFay6uC3c6C8i7RqDZ78/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:42:39 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": [ - "58" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A2:D4\",\n \"majorDimension\": \"ROWS\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1faFC7YUvsSl-1fxWB355dcjbFay6uC3c6C8i7RqDZ78/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:42:39 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": [ - "58" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A2:D4\",\n \"majorDimension\": \"ROWS\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1faFC7YUvsSl-1fxWB355dcjbFay6uC3c6C8i7RqDZ78/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:42:40 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": [ - "132" - ] - }, - "body": { - "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/1faFC7YUvsSl-1fxWB355dcjbFay6uC3c6C8i7RqDZ78?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:42:40 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_records_with_some_values_blank.json b/tests/cassettes/WorksheetTest.test_get_records_with_some_values_blank.json deleted file mode 100644 index 676194cc8..000000000 --- a/tests/cassettes/WorksheetTest.test_get_records_with_some_values_blank.json +++ /dev/null @@ -1,4085 +0,0 @@ -{ - "version": 1, - "interactions": [ - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_get_records_with_some_values_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": [ - "125" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Date": [ - "Tue, 05 Dec 2023 23:00:38 GMT" - ], - "Vary": [ - "Origin, X-Origin" - ], - "X-XSS-Protection": [ - "0" - ], - "Server": [ - "ESF" - ], - "Pragma": [ - "no-cache" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "content-length": [ - "212" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1ZOhTrgiXs7aegZ9wKOZjg5ndPlThw8XZ7MPgD4YzBMU\",\n \"name\": \"Test WorksheetTest test_get_records_with_some_values_blank\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ZOhTrgiXs7aegZ9wKOZjg5ndPlThw8XZ7MPgD4YzBMU?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": { - "x-l2-request-path": [ - "l2-managed-6" - ], - "Date": [ - "Tue, 05 Dec 2023 23:00:39 GMT" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Transfer-Encoding": [ - "chunked" - ], - "X-XSS-Protection": [ - "0" - ], - "Server": [ - "ESF" - ], - "Cache-Control": [ - "private" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "content-length": [ - "3356" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1ZOhTrgiXs7aegZ9wKOZjg5ndPlThw8XZ7MPgD4YzBMU\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_records_with_some_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/1ZOhTrgiXs7aegZ9wKOZjg5ndPlThw8XZ7MPgD4YzBMU/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ZOhTrgiXs7aegZ9wKOZjg5ndPlThw8XZ7MPgD4YzBMU?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": { - "x-l2-request-path": [ - "l2-managed-6" - ], - "Date": [ - "Tue, 05 Dec 2023 23:00:39 GMT" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Transfer-Encoding": [ - "chunked" - ], - "X-XSS-Protection": [ - "0" - ], - "Server": [ - "ESF" - ], - "Cache-Control": [ - "private" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "content-length": [ - "3356" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1ZOhTrgiXs7aegZ9wKOZjg5ndPlThw8XZ7MPgD4YzBMU\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_records_with_some_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/1ZOhTrgiXs7aegZ9wKOZjg5ndPlThw8XZ7MPgD4YzBMU/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ZOhTrgiXs7aegZ9wKOZjg5ndPlThw8XZ7MPgD4YzBMU/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": { - "x-l2-request-path": [ - "l2-managed-6" - ], - "Date": [ - "Tue, 05 Dec 2023 23:00:40 GMT" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Transfer-Encoding": [ - "chunked" - ], - "X-XSS-Protection": [ - "0" - ], - "Server": [ - "ESF" - ], - "Cache-Control": [ - "private" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "content-length": [ - "107" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1ZOhTrgiXs7aegZ9wKOZjg5ndPlThw8XZ7MPgD4YzBMU\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ZOhTrgiXs7aegZ9wKOZjg5ndPlThw8XZ7MPgD4YzBMU:batchUpdate", - "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 6, \"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": { - "x-l2-request-path": [ - "l2-managed-6" - ], - "Date": [ - "Tue, 05 Dec 2023 23:00:40 GMT" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Transfer-Encoding": [ - "chunked" - ], - "X-XSS-Protection": [ - "0" - ], - "Server": [ - "ESF" - ], - "Cache-Control": [ - "private" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1ZOhTrgiXs7aegZ9wKOZjg5ndPlThw8XZ7MPgD4YzBMU\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ZOhTrgiXs7aegZ9wKOZjg5ndPlThw8XZ7MPgD4YzBMU/values/%27Sheet1%27%21A1%3AD6?valueInputOption=RAW", - "body": "{\"values\": [[\"a\", \"b\", \"c\", \"d\"], [\"x\", \"y\", \"z\", \"\"], [\"\", \"\", \"\", \"\"], [\"\", \"\", \"\", \"\"], [\"\", \"\", \"\", \"\"], [\"\", \"\", \"\", \"\"]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "Content-Length": [ - "127" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "x-l2-request-path": [ - "l2-managed-6" - ], - "Date": [ - "Tue, 05 Dec 2023 23:00:41 GMT" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Transfer-Encoding": [ - "chunked" - ], - "X-XSS-Protection": [ - "0" - ], - "Server": [ - "ESF" - ], - "Cache-Control": [ - "private" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "content-length": [ - "169" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1ZOhTrgiXs7aegZ9wKOZjg5ndPlThw8XZ7MPgD4YzBMU\",\n \"updatedRange\": \"Sheet1!A1:D6\",\n \"updatedRows\": 6,\n \"updatedColumns\": 4,\n \"updatedCells\": 24\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ZOhTrgiXs7aegZ9wKOZjg5ndPlThw8XZ7MPgD4YzBMU/values/%27Sheet1%27%212%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-l2-request-path": [ - "l2-managed-6" - ], - "Date": [ - "Tue, 05 Dec 2023 23:00:42 GMT" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Transfer-Encoding": [ - "chunked" - ], - "X-XSS-Protection": [ - "0" - ], - "Server": [ - "ESF" - ], - "Cache-Control": [ - "private" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "content-length": [ - "121" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A2:D6\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"x\",\n \"y\",\n \"z\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1ZOhTrgiXs7aegZ9wKOZjg5ndPlThw8XZ7MPgD4YzBMU/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": { - "x-l2-request-path": [ - "l2-managed-6" - ], - "Date": [ - "Tue, 05 Dec 2023 23:00:42 GMT" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Transfer-Encoding": [ - "chunked" - ], - "X-XSS-Protection": [ - "0" - ], - "Server": [ - "ESF" - ], - "Cache-Control": [ - "private" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "content-length": [ - "132" - ] - }, - "body": { - "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/1ZOhTrgiXs7aegZ9wKOZjg5ndPlThw8XZ7MPgD4YzBMU?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": { - "Date": [ - "Tue, 05 Dec 2023 23:00:43 GMT" - ], - "Vary": [ - "Origin, X-Origin" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-XSS-Protection": [ - "0" - ], - "Server": [ - "ESF" - ], - "Pragma": [ - "no-cache" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Content-Length": [ - "0" - ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Content-Type": [ - "text/html" - ] - }, - "body": { - "string": "" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_get_records_with_some_values_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": [ - "125" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Pragma": [ - "no-cache" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "Server": [ - "ESF" - ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Vary": [ - "Origin, X-Origin" - ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Tue, 05 Dec 2023 23:01:44 GMT" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "content-length": [ - "212" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1cGkumdKwzP8LiuuqHT4aYbVy6xxwmG6s4iyVdffZ_6Y\",\n \"name\": \"Test WorksheetTest test_get_records_with_some_values_blank\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1cGkumdKwzP8LiuuqHT4aYbVy6xxwmG6s4iyVdffZ_6Y?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": { - "Transfer-Encoding": [ - "chunked" - ], - "Cache-Control": [ - "private" - ], - "Server": [ - "ESF" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "x-l2-request-path": [ - "l2-managed-6" - ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Tue, 05 Dec 2023 23:01:44 GMT" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "content-length": [ - "3356" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1cGkumdKwzP8LiuuqHT4aYbVy6xxwmG6s4iyVdffZ_6Y\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_records_with_some_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/1cGkumdKwzP8LiuuqHT4aYbVy6xxwmG6s4iyVdffZ_6Y/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1cGkumdKwzP8LiuuqHT4aYbVy6xxwmG6s4iyVdffZ_6Y?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": { - "Transfer-Encoding": [ - "chunked" - ], - "Cache-Control": [ - "private" - ], - "Server": [ - "ESF" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "x-l2-request-path": [ - "l2-managed-6" - ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Tue, 05 Dec 2023 23:01:44 GMT" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "content-length": [ - "3356" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1cGkumdKwzP8LiuuqHT4aYbVy6xxwmG6s4iyVdffZ_6Y\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_records_with_some_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/1cGkumdKwzP8LiuuqHT4aYbVy6xxwmG6s4iyVdffZ_6Y/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1cGkumdKwzP8LiuuqHT4aYbVy6xxwmG6s4iyVdffZ_6Y/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": { - "Transfer-Encoding": [ - "chunked" - ], - "Cache-Control": [ - "private" - ], - "Server": [ - "ESF" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "x-l2-request-path": [ - "l2-managed-6" - ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Tue, 05 Dec 2023 23:01:45 GMT" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "content-length": [ - "107" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1cGkumdKwzP8LiuuqHT4aYbVy6xxwmG6s4iyVdffZ_6Y\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1cGkumdKwzP8LiuuqHT4aYbVy6xxwmG6s4iyVdffZ_6Y:batchUpdate", - "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 6, \"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": { - "Transfer-Encoding": [ - "chunked" - ], - "Cache-Control": [ - "private" - ], - "Server": [ - "ESF" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "x-l2-request-path": [ - "l2-managed-6" - ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Tue, 05 Dec 2023 23:01:45 GMT" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1cGkumdKwzP8LiuuqHT4aYbVy6xxwmG6s4iyVdffZ_6Y\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1cGkumdKwzP8LiuuqHT4aYbVy6xxwmG6s4iyVdffZ_6Y/values/%27Sheet1%27%21A1%3AD6?valueInputOption=RAW", - "body": "{\"values\": [[\"a\", \"b\", \"c\", \"d\"], [\"x\", \"y\", \"z\", \"\"], [\"\", \"\", \"\", \"\"], [\"\", \"\", \"\", \"\"], [\"\", \"\", \"\", \"\"], [\"\", \"\", \"\", \"\"]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "Content-Length": [ - "127" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Transfer-Encoding": [ - "chunked" - ], - "Cache-Control": [ - "private" - ], - "Server": [ - "ESF" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "x-l2-request-path": [ - "l2-managed-6" - ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Tue, 05 Dec 2023 23:01:45 GMT" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "content-length": [ - "169" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1cGkumdKwzP8LiuuqHT4aYbVy6xxwmG6s4iyVdffZ_6Y\",\n \"updatedRange\": \"Sheet1!A1:D6\",\n \"updatedRows\": 6,\n \"updatedColumns\": 4,\n \"updatedCells\": 24\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1cGkumdKwzP8LiuuqHT4aYbVy6xxwmG6s4iyVdffZ_6Y/values/%27Sheet1%27%212%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": { - "Transfer-Encoding": [ - "chunked" - ], - "Cache-Control": [ - "private" - ], - "Server": [ - "ESF" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "x-l2-request-path": [ - "l2-managed-6" - ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Tue, 05 Dec 2023 23:01:46 GMT" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "content-length": [ - "121" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A2:D6\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"x\",\n \"y\",\n \"z\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1cGkumdKwzP8LiuuqHT4aYbVy6xxwmG6s4iyVdffZ_6Y/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": { - "Transfer-Encoding": [ - "chunked" - ], - "Cache-Control": [ - "private" - ], - "Server": [ - "ESF" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "x-l2-request-path": [ - "l2-managed-6" - ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Tue, 05 Dec 2023 23:01:47 GMT" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "content-length": [ - "132" - ] - }, - "body": { - "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/1cGkumdKwzP8LiuuqHT4aYbVy6xxwmG6s4iyVdffZ_6Y?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" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "Server": [ - "ESF" - ], - "Content-Length": [ - "0" - ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Vary": [ - "Origin, X-Origin" - ], - "X-XSS-Protection": [ - "0" - ], - "Date": [ - "Tue, 05 Dec 2023 23:01:47 GMT" - ], - "Content-Type": [ - "text/html" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ] - }, - "body": { - "string": "" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_get_records_with_some_values_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": [ - "125" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Tue, 05 Dec 2023 23:05:29 GMT" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Server": [ - "ESF" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "X-XSS-Protection": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "content-length": [ - "212" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1qxWySFXhsOPv4PE28lNQJCaogN5tPXTjXsSZM9F_L4c\",\n \"name\": \"Test WorksheetTest test_get_records_with_some_values_blank\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qxWySFXhsOPv4PE28lNQJCaogN5tPXTjXsSZM9F_L4c?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": { - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Transfer-Encoding": [ - "chunked" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Date": [ - "Tue, 05 Dec 2023 23:05:30 GMT" - ], - "x-l2-request-path": [ - "l2-managed-6" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Server": [ - "ESF" - ], - "Cache-Control": [ - "private" - ], - "X-XSS-Protection": [ - "0" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "content-length": [ - "3356" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1qxWySFXhsOPv4PE28lNQJCaogN5tPXTjXsSZM9F_L4c\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_records_with_some_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/1qxWySFXhsOPv4PE28lNQJCaogN5tPXTjXsSZM9F_L4c/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qxWySFXhsOPv4PE28lNQJCaogN5tPXTjXsSZM9F_L4c?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": { - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Transfer-Encoding": [ - "chunked" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Date": [ - "Tue, 05 Dec 2023 23:05:30 GMT" - ], - "x-l2-request-path": [ - "l2-managed-6" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Server": [ - "ESF" - ], - "Cache-Control": [ - "private" - ], - "X-XSS-Protection": [ - "0" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "content-length": [ - "3356" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1qxWySFXhsOPv4PE28lNQJCaogN5tPXTjXsSZM9F_L4c\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_records_with_some_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/1qxWySFXhsOPv4PE28lNQJCaogN5tPXTjXsSZM9F_L4c/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qxWySFXhsOPv4PE28lNQJCaogN5tPXTjXsSZM9F_L4c/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": { - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Transfer-Encoding": [ - "chunked" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Date": [ - "Tue, 05 Dec 2023 23:05:31 GMT" - ], - "x-l2-request-path": [ - "l2-managed-6" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Server": [ - "ESF" - ], - "Cache-Control": [ - "private" - ], - "X-XSS-Protection": [ - "0" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "content-length": [ - "107" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1qxWySFXhsOPv4PE28lNQJCaogN5tPXTjXsSZM9F_L4c\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qxWySFXhsOPv4PE28lNQJCaogN5tPXTjXsSZM9F_L4c:batchUpdate", - "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 6, \"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": { - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Transfer-Encoding": [ - "chunked" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Date": [ - "Tue, 05 Dec 2023 23:05:31 GMT" - ], - "x-l2-request-path": [ - "l2-managed-6" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Server": [ - "ESF" - ], - "Cache-Control": [ - "private" - ], - "X-XSS-Protection": [ - "0" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1qxWySFXhsOPv4PE28lNQJCaogN5tPXTjXsSZM9F_L4c\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qxWySFXhsOPv4PE28lNQJCaogN5tPXTjXsSZM9F_L4c/values/%27Sheet1%27%21A1%3AD6?valueInputOption=RAW", - "body": "{\"values\": [[\"a\", \"b\", \"c\", \"d\"], [\"x\", \"y\", \"z\", \"\"], [\"\", \"\", \"\", \"\"], [\"\", \"\", \"\", \"\"], [\"\", \"\", \"\", \"\"], [\"\", \"\", \"\", \"\"]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "Content-Length": [ - "127" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Transfer-Encoding": [ - "chunked" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Date": [ - "Tue, 05 Dec 2023 23:05:31 GMT" - ], - "x-l2-request-path": [ - "l2-managed-6" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Server": [ - "ESF" - ], - "Cache-Control": [ - "private" - ], - "X-XSS-Protection": [ - "0" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "content-length": [ - "169" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1qxWySFXhsOPv4PE28lNQJCaogN5tPXTjXsSZM9F_L4c\",\n \"updatedRange\": \"Sheet1!A1:D6\",\n \"updatedRows\": 6,\n \"updatedColumns\": 4,\n \"updatedCells\": 24\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qxWySFXhsOPv4PE28lNQJCaogN5tPXTjXsSZM9F_L4c/values/%27Sheet1%27%212%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" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Date": [ - "Tue, 05 Dec 2023 23:05:32 GMT" - ], - "x-l2-request-path": [ - "l2-managed-6" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Server": [ - "ESF" - ], - "Cache-Control": [ - "private" - ], - "X-XSS-Protection": [ - "0" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "content-length": [ - "121" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A2:D6\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"x\",\n \"y\",\n \"z\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qxWySFXhsOPv4PE28lNQJCaogN5tPXTjXsSZM9F_L4c/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": { - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Transfer-Encoding": [ - "chunked" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Date": [ - "Tue, 05 Dec 2023 23:05:32 GMT" - ], - "x-l2-request-path": [ - "l2-managed-6" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Server": [ - "ESF" - ], - "Cache-Control": [ - "private" - ], - "X-XSS-Protection": [ - "0" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "content-length": [ - "132" - ] - }, - "body": { - "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/1qxWySFXhsOPv4PE28lNQJCaogN5tPXTjXsSZM9F_L4c?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": { - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Pragma": [ - "no-cache" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Tue, 05 Dec 2023 23:05:33 GMT" - ], - "Content-Type": [ - "text/html" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Server": [ - "ESF" - ], - "Content-Length": [ - "0" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "X-XSS-Protection": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ] - }, - "body": { - "string": "" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_get_records_with_some_values_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": [ - "125" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Date": [ - "Tue, 05 Dec 2023 23:08:19 GMT" - ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-XSS-Protection": [ - "0" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Pragma": [ - "no-cache" - ], - "Server": [ - "ESF" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "Vary": [ - "Origin, X-Origin" - ], - "content-length": [ - "212" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"129Kul_tfDehxEQLVYhB6Epcryx-lLvhAPltjPQigOzc\",\n \"name\": \"Test WorksheetTest test_get_records_with_some_values_blank\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/129Kul_tfDehxEQLVYhB6Epcryx-lLvhAPltjPQigOzc?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" - ], - "Date": [ - "Tue, 05 Dec 2023 23:08:19 GMT" - ], - "x-l2-request-path": [ - "l2-managed-6" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-XSS-Protection": [ - "0" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Server": [ - "ESF" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Cache-Control": [ - "private" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "content-length": [ - "3356" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"129Kul_tfDehxEQLVYhB6Epcryx-lLvhAPltjPQigOzc\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_records_with_some_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/129Kul_tfDehxEQLVYhB6Epcryx-lLvhAPltjPQigOzc/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/129Kul_tfDehxEQLVYhB6Epcryx-lLvhAPltjPQigOzc?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" - ], - "Date": [ - "Tue, 05 Dec 2023 23:08:20 GMT" - ], - "x-l2-request-path": [ - "l2-managed-6" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-XSS-Protection": [ - "0" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Server": [ - "ESF" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Cache-Control": [ - "private" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "content-length": [ - "3356" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"129Kul_tfDehxEQLVYhB6Epcryx-lLvhAPltjPQigOzc\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_records_with_some_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/129Kul_tfDehxEQLVYhB6Epcryx-lLvhAPltjPQigOzc/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/129Kul_tfDehxEQLVYhB6Epcryx-lLvhAPltjPQigOzc/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" - ], - "Date": [ - "Tue, 05 Dec 2023 23:08:21 GMT" - ], - "x-l2-request-path": [ - "l2-managed-6" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-XSS-Protection": [ - "0" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Server": [ - "ESF" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Cache-Control": [ - "private" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "content-length": [ - "107" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"129Kul_tfDehxEQLVYhB6Epcryx-lLvhAPltjPQigOzc\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/129Kul_tfDehxEQLVYhB6Epcryx-lLvhAPltjPQigOzc:batchUpdate", - "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 6, \"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" - ], - "Date": [ - "Tue, 05 Dec 2023 23:08:21 GMT" - ], - "x-l2-request-path": [ - "l2-managed-6" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-XSS-Protection": [ - "0" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Server": [ - "ESF" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Cache-Control": [ - "private" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"129Kul_tfDehxEQLVYhB6Epcryx-lLvhAPltjPQigOzc\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/129Kul_tfDehxEQLVYhB6Epcryx-lLvhAPltjPQigOzc/values/%27Sheet1%27%21A1%3AD6?valueInputOption=RAW", - "body": "{\"values\": [[\"a\", \"b\", \"c\", \"d\"], [\"x\", \"y\", \"z\", \"\"], [\"\", \"\", \"\", \"\"], [\"\", \"\", \"\", \"\"], [\"\", \"\", \"\", \"\"], [\"\", \"\", \"\", \"\"]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "Content-Length": [ - "127" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Date": [ - "Tue, 05 Dec 2023 23:08:22 GMT" - ], - "x-l2-request-path": [ - "l2-managed-6" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-XSS-Protection": [ - "0" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Server": [ - "ESF" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Cache-Control": [ - "private" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "content-length": [ - "169" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"129Kul_tfDehxEQLVYhB6Epcryx-lLvhAPltjPQigOzc\",\n \"updatedRange\": \"Sheet1!A1:D6\",\n \"updatedRows\": 6,\n \"updatedColumns\": 4,\n \"updatedCells\": 24\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/129Kul_tfDehxEQLVYhB6Epcryx-lLvhAPltjPQigOzc/values/%27Sheet1%27%212%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": { - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Date": [ - "Tue, 05 Dec 2023 23:08:23 GMT" - ], - "x-l2-request-path": [ - "l2-managed-6" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-XSS-Protection": [ - "0" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Server": [ - "ESF" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Cache-Control": [ - "private" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "content-length": [ - "121" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A2:D6\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"x\",\n \"y\",\n \"z\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/129Kul_tfDehxEQLVYhB6Epcryx-lLvhAPltjPQigOzc/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" - ], - "Date": [ - "Tue, 05 Dec 2023 23:08:23 GMT" - ], - "x-l2-request-path": [ - "l2-managed-6" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-XSS-Protection": [ - "0" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Server": [ - "ESF" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Cache-Control": [ - "private" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "content-length": [ - "132" - ] - }, - "body": { - "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/129Kul_tfDehxEQLVYhB6Epcryx-lLvhAPltjPQigOzc?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": { - "Content-Type": [ - "text/html" - ], - "Date": [ - "Tue, 05 Dec 2023 23:08:24 GMT" - ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "Content-Length": [ - "0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-XSS-Protection": [ - "0" - ], - "Pragma": [ - "no-cache" - ], - "Server": [ - "ESF" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "Vary": [ - "Origin, X-Origin" - ] - }, - "body": { - "string": "" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_get_records_with_some_values_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": [ - "125" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "X-XSS-Protection": [ - "0" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Server": [ - "ESF" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Tue, 05 Dec 2023 23:37:44 GMT" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Pragma": [ - "no-cache" - ], - "Transfer-Encoding": [ - "chunked" - ], - "content-length": [ - "212" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1W9ZR3anNaizI2G93763OSs7Uw32qAZ2HVUvkLoPQYCw\",\n \"name\": \"Test WorksheetTest test_get_records_with_some_values_blank\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1W9ZR3anNaizI2G93763OSs7Uw32qAZ2HVUvkLoPQYCw?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": { - "X-XSS-Protection": [ - "0" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Server": [ - "ESF" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Cache-Control": [ - "private" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Tue, 05 Dec 2023 23:37:44 GMT" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "x-l2-request-path": [ - "l2-managed-6" - ], - "Transfer-Encoding": [ - "chunked" - ], - "content-length": [ - "3356" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1W9ZR3anNaizI2G93763OSs7Uw32qAZ2HVUvkLoPQYCw\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_records_with_some_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/1W9ZR3anNaizI2G93763OSs7Uw32qAZ2HVUvkLoPQYCw/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1W9ZR3anNaizI2G93763OSs7Uw32qAZ2HVUvkLoPQYCw?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": { - "X-XSS-Protection": [ - "0" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Server": [ - "ESF" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Cache-Control": [ - "private" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Tue, 05 Dec 2023 23:37:45 GMT" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "x-l2-request-path": [ - "l2-managed-6" - ], - "Transfer-Encoding": [ - "chunked" - ], - "content-length": [ - "3356" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1W9ZR3anNaizI2G93763OSs7Uw32qAZ2HVUvkLoPQYCw\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_records_with_some_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/1W9ZR3anNaizI2G93763OSs7Uw32qAZ2HVUvkLoPQYCw/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1W9ZR3anNaizI2G93763OSs7Uw32qAZ2HVUvkLoPQYCw/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": { - "X-XSS-Protection": [ - "0" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Server": [ - "ESF" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Cache-Control": [ - "private" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Tue, 05 Dec 2023 23:37:45 GMT" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "x-l2-request-path": [ - "l2-managed-6" - ], - "Transfer-Encoding": [ - "chunked" - ], - "content-length": [ - "107" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1W9ZR3anNaizI2G93763OSs7Uw32qAZ2HVUvkLoPQYCw\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1W9ZR3anNaizI2G93763OSs7Uw32qAZ2HVUvkLoPQYCw:batchUpdate", - "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 6, \"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": { - "X-XSS-Protection": [ - "0" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Server": [ - "ESF" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Cache-Control": [ - "private" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Tue, 05 Dec 2023 23:37:46 GMT" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "x-l2-request-path": [ - "l2-managed-6" - ], - "Transfer-Encoding": [ - "chunked" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1W9ZR3anNaizI2G93763OSs7Uw32qAZ2HVUvkLoPQYCw\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1W9ZR3anNaizI2G93763OSs7Uw32qAZ2HVUvkLoPQYCw/values/%27Sheet1%27%21A1%3AD6?valueInputOption=RAW", - "body": "{\"values\": [[\"a\", \"b\", \"c\", \"d\"], [\"x\", \"y\", \"z\", \"\"], [\"\", \"\", \"\", \"\"], [\"\", \"\", \"\", \"\"], [\"\", \"\", \"\", \"\"], [\"\", \"\", \"\", \"\"]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "Content-Length": [ - "127" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "X-XSS-Protection": [ - "0" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Server": [ - "ESF" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Cache-Control": [ - "private" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Tue, 05 Dec 2023 23:37:46 GMT" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "x-l2-request-path": [ - "l2-managed-6" - ], - "Transfer-Encoding": [ - "chunked" - ], - "content-length": [ - "169" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1W9ZR3anNaizI2G93763OSs7Uw32qAZ2HVUvkLoPQYCw\",\n \"updatedRange\": \"Sheet1!A1:D6\",\n \"updatedRows\": 6,\n \"updatedColumns\": 4,\n \"updatedCells\": 24\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1W9ZR3anNaizI2G93763OSs7Uw32qAZ2HVUvkLoPQYCw/values/%27Sheet1%27%212%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-XSS-Protection": [ - "0" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Server": [ - "ESF" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Cache-Control": [ - "private" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Tue, 05 Dec 2023 23:37:46 GMT" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "x-l2-request-path": [ - "l2-managed-6" - ], - "Transfer-Encoding": [ - "chunked" - ], - "content-length": [ - "121" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A2:D6\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"x\",\n \"y\",\n \"z\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1W9ZR3anNaizI2G93763OSs7Uw32qAZ2HVUvkLoPQYCw/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": { - "X-XSS-Protection": [ - "0" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Server": [ - "ESF" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Cache-Control": [ - "private" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Tue, 05 Dec 2023 23:37:47 GMT" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "x-l2-request-path": [ - "l2-managed-6" - ], - "Transfer-Encoding": [ - "chunked" - ], - "content-length": [ - "132" - ] - }, - "body": { - "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/1W9ZR3anNaizI2G93763OSs7Uw32qAZ2HVUvkLoPQYCw?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": { - "X-XSS-Protection": [ - "0" - ], - "Content-Type": [ - "text/html" - ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Server": [ - "ESF" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "Content-Length": [ - "0" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Date": [ - "Tue, 05 Dec 2023 23:37:48 GMT" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Pragma": [ - "no-cache" - ] - }, - "body": { - "string": "" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_get_records_with_some_values_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": [ - "125" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Date": [ - "Tue, 05 Dec 2023 23:40:09 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "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" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-XSS-Protection": [ - "0" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Server": [ - "ESF" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ], - "content-length": [ - "212" - ] - }, - "body": { - "string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1qnFJGTUH36cn7KGw5fCrDJ4LeqR5Scdo1ZHtLwb-LJU\",\n \"name\": \"Test WorksheetTest test_get_records_with_some_values_blank\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qnFJGTUH36cn7KGw5fCrDJ4LeqR5Scdo1ZHtLwb-LJU?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": { - "Date": [ - "Tue, 05 Dec 2023 23:40:10 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Cache-Control": [ - "private" - ], - "x-l2-request-path": [ - "l2-managed-6" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-XSS-Protection": [ - "0" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "content-length": [ - "3356" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1qnFJGTUH36cn7KGw5fCrDJ4LeqR5Scdo1ZHtLwb-LJU\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_records_with_some_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/1qnFJGTUH36cn7KGw5fCrDJ4LeqR5Scdo1ZHtLwb-LJU/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qnFJGTUH36cn7KGw5fCrDJ4LeqR5Scdo1ZHtLwb-LJU?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": { - "Date": [ - "Tue, 05 Dec 2023 23:40:11 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Cache-Control": [ - "private" - ], - "x-l2-request-path": [ - "l2-managed-6" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-XSS-Protection": [ - "0" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "content-length": [ - "3356" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1qnFJGTUH36cn7KGw5fCrDJ4LeqR5Scdo1ZHtLwb-LJU\",\n \"properties\": {\n \"title\": \"Test WorksheetTest test_get_records_with_some_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/1qnFJGTUH36cn7KGw5fCrDJ4LeqR5Scdo1ZHtLwb-LJU/edit\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qnFJGTUH36cn7KGw5fCrDJ4LeqR5Scdo1ZHtLwb-LJU/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": { - "Date": [ - "Tue, 05 Dec 2023 23:40:11 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Cache-Control": [ - "private" - ], - "x-l2-request-path": [ - "l2-managed-6" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-XSS-Protection": [ - "0" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "content-length": [ - "107" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1qnFJGTUH36cn7KGw5fCrDJ4LeqR5Scdo1ZHtLwb-LJU\",\n \"clearedRange\": \"Sheet1!A1:Z1000\"\n}\n" - } - } - }, - { - "request": { - "method": "POST", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qnFJGTUH36cn7KGw5fCrDJ4LeqR5Scdo1ZHtLwb-LJU:batchUpdate", - "body": "{\"requests\": [{\"updateSheetProperties\": {\"properties\": {\"sheetId\": 0, \"gridProperties\": {\"rowCount\": 6, \"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": { - "Date": [ - "Tue, 05 Dec 2023 23:40:11 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Cache-Control": [ - "private" - ], - "x-l2-request-path": [ - "l2-managed-6" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-XSS-Protection": [ - "0" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "content-length": [ - "97" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1qnFJGTUH36cn7KGw5fCrDJ4LeqR5Scdo1ZHtLwb-LJU\",\n \"replies\": [\n {}\n ]\n}\n" - } - } - }, - { - "request": { - "method": "PUT", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qnFJGTUH36cn7KGw5fCrDJ4LeqR5Scdo1ZHtLwb-LJU/values/%27Sheet1%27%21A1%3AD6?valueInputOption=RAW", - "body": "{\"values\": [[\"a\", \"b\", \"c\", \"d\"], [\"x\", \"y\", \"z\", \"\"], [\"\", \"\", \"\", \"\"], [\"\", \"\", \"\", \"\"], [\"\", \"\", \"\", \"\"], [\"\", \"\", \"\", \"\"]]}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "Content-Length": [ - "127" - ], - "Content-Type": [ - "application/json" - ], - "authorization": [ - "" - ] - } - }, - "response": { - "status": { - "code": 200, - "message": "OK" - }, - "headers": { - "Date": [ - "Tue, 05 Dec 2023 23:40:11 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Cache-Control": [ - "private" - ], - "x-l2-request-path": [ - "l2-managed-6" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-XSS-Protection": [ - "0" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "content-length": [ - "169" - ] - }, - "body": { - "string": "{\n \"spreadsheetId\": \"1qnFJGTUH36cn7KGw5fCrDJ4LeqR5Scdo1ZHtLwb-LJU\",\n \"updatedRange\": \"Sheet1!A1:D6\",\n \"updatedRows\": 6,\n \"updatedColumns\": 4,\n \"updatedCells\": 24\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qnFJGTUH36cn7KGw5fCrDJ4LeqR5Scdo1ZHtLwb-LJU/values/%27Sheet1%27%212%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": { - "Date": [ - "Tue, 05 Dec 2023 23:40:12 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Cache-Control": [ - "private" - ], - "x-l2-request-path": [ - "l2-managed-6" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-XSS-Protection": [ - "0" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "content-length": [ - "121" - ] - }, - "body": { - "string": "{\n \"range\": \"Sheet1!A2:D6\",\n \"majorDimension\": \"ROWS\",\n \"values\": [\n [\n \"x\",\n \"y\",\n \"z\"\n ]\n ]\n}\n" - } - } - }, - { - "request": { - "method": "GET", - "uri": "https://sheets.googleapis.com/v4/spreadsheets/1qnFJGTUH36cn7KGw5fCrDJ4LeqR5Scdo1ZHtLwb-LJU/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": { - "Date": [ - "Tue, 05 Dec 2023 23:40:13 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Vary": [ - "Origin", - "X-Origin", - "Referer" - ], - "Cache-Control": [ - "private" - ], - "x-l2-request-path": [ - "l2-managed-6" - ], - "Content-Type": [ - "application/json; charset=UTF-8" - ], - "X-XSS-Protection": [ - "0" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Server": [ - "ESF" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "content-length": [ - "132" - ] - }, - "body": { - "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/1qnFJGTUH36cn7KGw5fCrDJ4LeqR5Scdo1ZHtLwb-LJU?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": { - "Date": [ - "Tue, 05 Dec 2023 23:40:14 GMT" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "Content-Length": [ - "0" - ], - "Vary": [ - "Origin, X-Origin" - ], - "Cache-Control": [ - "no-cache, no-store, max-age=0, must-revalidate" - ], - "Content-Type": [ - "text/html" - ], - "X-XSS-Protection": [ - "0" - ], - "Server": [ - "ESF" - ], - "Pragma": [ - "no-cache" - ], - "X-Frame-Options": [ - "SAMEORIGIN" - ], - "Expires": [ - "Mon, 01 Jan 1990 00:00:00 GMT" - ] - }, - "body": { - "string": "" - } - } - } - ] -} diff --git a/tests/cassettes/WorksheetTest.test_get_records_wrong_rows_input.json b/tests/cassettes/WorksheetTest.test_get_records_wrong_rows_input.json deleted file mode 100644 index d8670222d..000000000 --- a/tests/cassettes/WorksheetTest.test_get_records_wrong_rows_input.json +++ /dev/null @@ -1,460 +0,0 @@ -{ - "version": 1, - "interactions": [ - { - "request": { - "method": "POST", - "uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True", - "body": "{\"name\": \"Test WorksheetTest test_get_records_wrong_rows_input\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}", - "headers": { - "User-Agent": [ - "python-requests/2.31.0" - ], - "Accept-Encoding": [ - "gzip, deflate" - ], - "Accept": [ - "*/*" - ], - "Connection": [ - "keep-alive" - ], - "Content-Length": [ - "119" - ], - "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: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" - ], - "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": [ - "206" - ] - }, - "body": { - "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/16_pKPDZ38wZN9oCqE9R_TUnHk_CLkA-9i8yxHGKn3NI?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: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-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "content-length": [ - "3350" - ] - }, - "body": { - "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/16_pKPDZ38wZN9oCqE9R_TUnHk_CLkA-9i8yxHGKn3NI?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: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-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "content-length": [ - "3350" - ] - }, - "body": { - "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/16_pKPDZ38wZN9oCqE9R_TUnHk_CLkA-9i8yxHGKn3NI/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: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-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "content-length": [ - "107" - ] - }, - "body": { - "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/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": [ - "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: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-Content-Type-Options": [ - "nosniff" - ], - "Alt-Svc": [ - "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" - ], - "content-length": [ - "97" - ] - }, - "body": { - "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/16_pKPDZ38wZN9oCqE9R_TUnHk_CLkA-9i8yxHGKn3NI?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:42: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": [ - "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/worksheet_test.py b/tests/worksheet_test.py index 80065fe56..ae03d648f 100644 --- a/tests/worksheet_test.py +++ b/tests/worksheet_test.py @@ -1088,7 +1088,7 @@ def test_get_all_records_with_keys_blank(self): self.assertDictEqual(expected_values_3, read_records[2]) @pytest.mark.vcr() - def test_get_records_with_all_values_blank(self): + def test_get_all_records_with_all_values_blank(self): # regression test for #1355 self.sheet.resize(4, 4) @@ -1100,39 +1100,13 @@ def test_get_records_with_all_values_blank(self): ] self.sheet.update(rows, "A1:D4") - 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 ask for get_all_records() # I want [] - read_records_nofirst_nolast = self.sheet.get_records() + read_records_nofirst_nolast = self.sheet.get_all_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_records_with_some_values_blank(self): + def test_get_all_records_with_some_values_blank(self): # regression test for #1363 self.sheet.resize(6, 4) @@ -1147,7 +1121,7 @@ def test_get_records_with_some_values_blank(self): self.sheet.update(rows, "A1:D6") - read_records = self.sheet.get_records() + read_records = self.sheet.get_all_records() expected_values_1 = dict(zip(rows[0], rows[1])) self.assertEqual(len(read_records), 1) @@ -1178,57 +1152,7 @@ def test_get_all_records_numericise_unformatted(self): self.assertEqual(read_records[0], d0) @pytest.mark.vcr() - def test_get_records(self): - self.sheet.resize(5, 3) - rows = [ - ["A1", "B1", "C1"], - [1, 2, 3], - [4, 5, 6], - [7, 8, 9], - [10, 11, 12], - ] - self.sheet.update(rows, "A1:C5") - - # test1 - set last_index only - read_records = self.sheet.get_records(last_index=3) - d0 = dict(zip(rows[0], rows[1])) - d1 = dict(zip(rows[0], rows[2])) - records_list = [d0, d1] - self.assertEqual(read_records, records_list) - - # test2 - set first_index only - read_records = self.sheet.get_records(first_index=3) - d0 = dict(zip(rows[0], rows[2])) - d1 = dict(zip(rows[0], rows[3])) - d2 = dict(zip(rows[0], rows[4])) - records_list = [d0, d1, d2] - self.assertEqual(read_records, records_list) - - # test3 - set both last_index and first_index unequal to each other - read_records = self.sheet.get_records(first_index=3, last_index=4) - d0 = dict(zip(rows[0], rows[2])) - d1 = dict(zip(rows[0], rows[3])) - records_list = [d0, d1] - self.assertEqual(read_records, records_list) - - # test4 - set last_index and first_index equal to each other - read_records = self.sheet.get_records(first_index=3, last_index=3) - d0 = dict(zip(rows[0], rows[2])) - records_list = [d0] - self.assertEqual(read_records, records_list) - - # test5 - set head only - read_records = self.sheet.get_records( - head=2, value_render_option="UNFORMATTED_VALUE" - ) - d0 = dict(zip(rows[1], rows[2])) - d1 = dict(zip(rows[1], rows[3])) - d2 = dict(zip(rows[1], rows[4])) - records_list = [d0, d1, d2] - self.assertEqual(read_records, records_list) - - @pytest.mark.vcr() - def test_get_records_pad_one_key(self): + def test_get_all_records_pad_one_key(self): self.sheet.resize(2, 4) rows = [ ["A1", "B1", "C1"], @@ -1236,14 +1160,14 @@ def test_get_records_pad_one_key(self): ] self.sheet.update(rows, "A1:D2") - read_records = self.sheet.get_records(head=1, first_index=2, last_index=2) + read_records = self.sheet.get_all_records(head=1) rows[0].append("") d0 = dict(zip(rows[0], rows[1])) records_list = [d0] self.assertEqual(read_records, records_list) @pytest.mark.vcr() - def test_get_records_pad_values(self): + def test_get_all_records_pad_values(self): self.sheet.resize(2, 4) rows = [ ["A1", "B1", "C1"], @@ -1251,14 +1175,14 @@ def test_get_records_pad_values(self): ] self.sheet.update(rows, "A1:C2") - read_records = self.sheet.get_records(head=1, first_index=2, last_index=2) + read_records = self.sheet.get_all_records(head=1) rows[1].append("") d0 = dict(zip(rows[0], rows[1])) records_list = [d0] self.assertEqual(read_records, records_list) @pytest.mark.vcr() - def test_get_records_pad_more_than_one_key(self): + def test_get_all_records_pad_more_than_one_key(self): self.sheet.resize(2, 4) rows = [ ["A1", "B1"], @@ -1267,19 +1191,7 @@ def test_get_records_pad_more_than_one_key(self): self.sheet.update(rows, "A1:D2") with pytest.raises(GSpreadException): - self.sheet.get_records(head=1, first_index=2, last_index=2) - - @pytest.mark.vcr() - def test_get_records_wrong_rows_input(self): - self.sheet.resize(5, 3) - - # set first_index to a value greater than last_index - with pytest.raises(ValueError): - self.sheet.get_records(head=1, first_index=4, last_index=3) - - # set first_index to a value less than head - with pytest.raises(ValueError): - self.sheet.get_records(head=3, first_index=2, last_index=4) + self.sheet.get_all_records(head=1) @pytest.mark.vcr() def test_append_row(self):