turbaszek commented on a change in pull request #7866: Add download/upload
operators for GCS and Google Sheets
URL: https://github.com/apache/airflow/pull/7866#discussion_r397895750
##########
File path: airflow/providers/google/suite/hooks/sheets.py
##########
@@ -375,3 +375,60 @@ def batch_clear(self, spreadsheet_id: str, ranges: List)
-> Dict:
).execute(num_retries=self.num_retries)
return response
+
+ def get_sheet_titles(self, spreadsheet_id: str, sheet_filter:
Optional[List[str]] = None):
+ """
+ Retrieves the sheet titles from a spreadsheet matching the given id
and sheet filter.
+
+ :param spreadsheet_id: The spreadsheet id.
Review comment:
We have type annotations, however, I think I should add them for docs sake -
@mik-laj ?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services