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

fix key name of gridProperties while fetching frozen column from sheet #83

Merged

Conversation

tekendratimsina
Copy link
Contributor

clear_sheet doesn't work on current version if the sheet has frozen column as frozen column count returns default_value(0) for any sheet due to the name mismatch in gridproperties and that throws APIError.
This pr fixes the mismatched name.

Following are the key from gridProperties.

self._sheet_metadata["properties"]["gridProperties"].keys()

returns

dict_keys(['rowCount', 'columnCount', 'frozenRowCount', 'frozenColumnCount'])

@aiguofer aiguofer merged commit 086bfa1 into aiguofer:master Jan 18, 2022
@aiguofer
Copy link
Owner

awesome, thanks for your contribution!!

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

Successfully merging this pull request may close these issues.

2 participants