Lee-W commented on code in PR #30231:
URL: https://github.com/apache/airflow/pull/30231#discussion_r1144370962


##########
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:
   Also, I'm thinking of implementing it in the following way. What do you 
think?
   
   ```python
           super().__init__(**kwargs)
   
           if self.deferrable:
               self.poke_interval = kwargs.get("poke_interval", 5)
   ```



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