Skip to content

Commit

Permalink
update() method new signature
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandre Lavigne <[email protected]>
  • Loading branch information
lavigne958 committed Oct 24, 2023
1 parent 6642992 commit 47d58e2
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,20 @@ Python-3.7 is now end-of-life, GSpread stopped supporting it.

Lowest supported python version: 3.8

### Method signature changes

The method ``Worksheet.update()`` has changed it's signature. The arguments ``range_name`` and ``values`` have swapped.

Please now use kwargs to assign arguments to be compatible with both v5.X.Y and v6.X.Y version.

```python
file.sheet1.update(range_name="I7", values=[["54"]])
```

#### Notice:

the argument `values` must be a list of list !

## Installation

```sh
Expand Down

0 comments on commit 47d58e2

Please sign in to comment.