-
Notifications
You must be signed in to change notification settings - Fork 952
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
Fixed default value of merge_type parameter in merge_cells function docstring. #1373
Conversation
thanks, this is helpful! I always love a docs change :) got me thinking, why aren't we using a tuple for this parameter? like for Lines 41 to 43 in c3b61d0
perhaps we could change it... @lavigne958 thoughts ? |
Thanks for the doc update. I think we missed it 😮 |
I am sure that after changing to namedtuple, people still can use string. |
quick change! it looks good :) now is probably also the time to add a test for you are welcome to give this a go, or one of us will do it if you would rather not deal with the tests :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for the fix !
I agree if you feel like it, feel free to add a test on merge cells, if not, no worries we'll add them.
Tested it, it works in all bellow cases:
- with
sheet.merge_cell("A1:B2", "MERGE_ALL")
- with
sheet.merge_cell("A1:B2", gspread.utils.MergeType.merge_all)
which makes it ISO functional with current code base 👍
super. we will merge this and add a test for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the new tests !
Fixed default value of merge_type parameter in merge_cells function docstring.