burnash / gspread

Google Sheets Python API
https://docs.gspread.org
MIT License
7.06k stars 945 forks source link

Added `set_records` and `set_record` to update sheet via records.[Issue #677] #1494

Open muddi900 opened 2 months ago

muddi900 commented 2 months ago

Fixes #677

alifeee commented 2 months ago

thanks for the implementation!

I find the test hard to parse, would it be possible to write it with very explicit objects? e.g.,

table_before = [
  ["header 1", "header 2"]
  ["value 1",  "value 2"]
]
table_after = [
  ["header 1",    "header 2"]
  ["value 1",     "value 2"]
  ["new value 1", "new value 2"]
]