Skip to content

Commit

Permalink
add lastUpdateTime migration
Browse files Browse the repository at this point in the history
  • Loading branch information
alifeee committed Oct 25, 2023
1 parent f34b155 commit 8a61c6a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ As well, `values` can no longer be a list, and must be a 2D array.
+ file.sheet1.update(range_name="I7", values=[["54"]])
```

### Change colours from dictionary to text
### Change colors from dictionary to text

v6 uses hexadecimal color representation. Change all colors to hex. You can use the compatibility function `gspread.utils.convert_colors_to_hex_value()` to convert a dictionary to a hex string.

Expand All @@ -76,6 +76,13 @@ v6 uses hexadecimal color representation. Change all colors to hex. You can use
file.sheet1.update_tab_color(tab_color)
```

### Switch lastUpdateTime from property to method

```diff
- age = spreadsheet.lastUpdateTime
+ age = spreadsheet.get_lastUpdateTime()
```

### Silence warnings

In version 5 there are many warnings to mark deprecated feature/functions/methods.
Expand Down

0 comments on commit 8a61c6a

Please sign in to comment.