eladkal commented on code in PR #27261:
URL: https://github.com/apache/airflow/pull/27261#discussion_r1004585318
##########
airflow/providers/google/suite/hooks/sheets.py:
##########
@@ -115,7 +115,7 @@ def get_values(
.execute(num_retries=self.num_retries)
)
- return response["values"]
+ return response.get('values', [])
Review Comment:
To me it makes more sense to return what the API returns. If the API returns
nothing so should we.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]