Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError when using batch_merge #1540

Open
Demsli opened this issue Jan 30, 2025 · 0 comments
Open

AttributeError when using batch_merge #1540

Demsli opened this issue Jan 30, 2025 · 0 comments

Comments

@Demsli
Copy link

Demsli commented Jan 30, 2025


Describe the bug
Getting Attribute error when trying to use the new feature batch_merge inside a created worksheet. Error text: AttributeError: 'Worksheet' object has no attribute 'batch_merge'

To Reproduce
Steps to reproduce the behavior:

  1. Create a list of dictionaries (ex, name merge_request) with keys 'range' and 'mergeType'
  2. Pass it to the worksheet variable: worksheet.batch_merge(merge_request)
  3. Recieve AttributeError

Expected behavior
All of my selected ranges to be merged with one call.

Code example*
https://pastebin.com/jZLTrZwP

Environment info:

  • Operating System [e.g. Linux, Windows, macOS]: Windows
  • Python version: 3.11.9
  • gspread version: 6.1.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant