MCPcopy
hub / github.com/burnash/gspread / get_grid_props

Method get_grid_props

tests/worksheet_test.py:630–634  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

628 new_rows = self.sheet.row_count + add_num
629
630 def get_grid_props():
631 sheets = self.spreadsheet.fetch_sheet_metadata()["sheets"]
632 return utils.finditem(
633 lambda x: x["properties"]["sheetId"] == self.sheet.id, sheets
634 )["properties"]["gridProperties"]
635
636 self.sheet.add_rows(add_num)
637

Callers

nothing calls this directly

Calls 1

fetch_sheet_metadataMethod · 0.45

Tested by

no test coverage detected