mik-laj commented on a change in pull request #5117: [AIRFLOW-4335] Add default 
num_retries to GCP connection
URL: https://github.com/apache/airflow/pull/5117#discussion_r277068892
 
 

 ##########
 File path: airflow/contrib/hooks/bigquery_hook.py
 ##########
 @@ -60,6 +60,7 @@ def __init__(self,
             gcp_conn_id=bigquery_conn_id, delegate_to=delegate_to)
         self.use_legacy_sql = use_legacy_sql
         self.location = location
+        self.num_retries = self._get_field('num_retries', 5)
 
 Review comment:
   If anyone is interested in this subject then the source of the idea is this 
comment: https://github.com/apache/airflow/pull/5054#discussion_r272843031

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

Reply via email to