Skip to content

Conversation

@wengh
Copy link
Contributor

@wengh wengh commented Jan 15, 2025

Note: Description below is partially generated by Copilot.

This pull request introduces a new data source for Google Sheets, adds it to the documentation, and includes tests to ensure its functionality. The most important changes include the creation of the GoogleSheetsDataSource class, updates to the documentation, and the addition of new tests.

New Data Source Implementation:

Documentation Updates:

Testing:

  • tests/test_google_sheets.py: Added tests for the GoogleSheetsDataSource to verify its functionality, including tests for URL handling, spreadsheet ID handling, missing options, mutual exclusive options, and custom schema.

@wengh wengh marked this pull request as ready for review January 15, 2025 21:54
Copy link
Owner

@allisonwang-db allisonwang-db left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Left some comments

@wengh wengh requested a review from allisonwang-db January 18, 2025 00:17

class GoogleSheetsDataSource(DataSource):
"""
A DataSource for reading table from public Google Sheets.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be great to also support private ones :)

@allisonwang-db allisonwang-db merged commit 0b49783 into allisonwang-db:master Jan 22, 2025
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