Skip to content

Commit

Permalink
Merge pull request #1542 from burnash/doc/add-batch-example
Browse files Browse the repository at this point in the history
add example for `batch_merge`
  • Loading branch information
alifeee authored Feb 12, 2025
2 parents 94617c9 + 7dfd7ab commit 56b0de2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions gspread/worksheet.py
Original file line number Diff line number Diff line change
Expand Up @@ -2623,6 +2623,15 @@ def batch_merge(
defaults to ``MergeType.merge_all``.
:type merge_type: ``MergeType``
example::
worksheet.batch_merge(
[
{"range": "A1:M1"},
{"range": "D2:H2", "mergeType": utils.MergeType.merge_rows}
]
)
:returns: The body of the request response.
:rtype: dict
"""
Expand Down

0 comments on commit 56b0de2

Please sign in to comment.