uranusjr commented on code in PR #30231:
URL: https://github.com/apache/airflow/pull/30231#discussion_r1144378781


##########
airflow/providers/google/cloud/sensors/bigquery.py:
##########
@@ -163,6 +165,9 @@ def __init__(
         self.delegate_to = delegate_to
         self.impersonation_chain = impersonation_chain
 
+        self.deferrable = deferrable
+        self.poke_interval = poke_interval

Review Comment:
   I think this works as well but could be problematic if the logic in the base 
class changes (not likely but still).
   
   How about this?
   
   ```python
   if deferrable and "poke_interval" not in kwargs:
       kwargs["poke_interval"] = 5
   super().__init__(**kwargs)
   ```



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