Taragolis commented on code in PR #38950:
URL: https://github.com/apache/airflow/pull/38950#discussion_r1561836489


##########
airflow/providers/google/cloud/hooks/bigquery.py:
##########
@@ -2849,7 +2849,7 @@ def next(self) -> list | None:
                 return None
 
             query_results = self._get_query_result()
-            if "rows" in query_results and query_results["rows"]:
+            if query_results.get("rows"):

Review Comment:
   ```suggestion
               if rows := query_results.get("rows"):
   ```
   And remove assign from L2856



-- 
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]

Reply via email to