Skip to content

Commit

Permalink
passing absolute_range_name to ranges to handle cell-name like shee…
Browse files Browse the repository at this point in the history
…t names. (via @lavigne958)
  • Loading branch information
muddi900 committed Jul 4, 2024
1 parent 5951c46 commit c0f5a68
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions gspread/worksheet.py
Original file line number Diff line number Diff line change
Expand Up @@ -2655,11 +2655,7 @@ def get_notes(
"""
params: ParamsType = {
"fields": "sheets.data.rowData.values.note",
"ranges": (
self.title
if grid_range is None
else absolute_range_name(self.title, grid_range)
),
"ranges": absolute_range_name(self.title, grid_range),
}

res = self.client.spreadsheets_get(self.spreadsheet_id, params)
Expand Down

0 comments on commit c0f5a68

Please sign in to comment.