move-coop / parsons

A python library of connectors for the progressive community.
Other
254 stars 125 forks source link

Skip empty tables in GSheets append & overwrite methods #1080

Closed codygordon closed 5 days ago

codygordon commented 1 week ago

If a table with no data is provided the overwrite method an error that is hard to debug is raised: ValueError: min() arg is an empty sequence. We ought to just log a warning.

The paste_data_in_sheet method already had a check like this.