-
Notifications
You must be signed in to change notification settings - Fork 0
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
spreadsheet: Reconfigure readSheet function #14
Conversation
Change-type: minor Signed-off-by: AlidaOdendaal <alida@balena.io>
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.
lgtm
Approval reviews not allowed in Draft PRs
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 Alida. I left a few remarks for discussion.
Long story short, I think that we could pass along whatever getRange
accepts, and possibly use getDataRange
otherwise (by default).
Here's pythonic pseudocode:
range = sheet.getRange(*params) if params else sheet.getDataRange()
return range.getValues()
Please let me know if I'm missing the point somehow.
Change-type: patch Signed-off-by: AlidaOdendaal <alida@balena.io>
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.
Looks like we've polished this as much as we reasonably could!
Change-type: minor
Signed-off-by: AlidaOdendaal alida@balena.io