You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2019/09/02 11:59:26 UTC

[GitHub] [airflow] eladkal commented on a change in pull request #5515: [AIRFLOW-4879] add poll_interval and schema to PrestoHook

eladkal commented on a change in pull request #5515:  [AIRFLOW-4879] add poll_interval and schema to PrestoHook
URL: https://github.com/apache/airflow/pull/5515#discussion_r319927980
 
 

 ##########
 File path: airflow/hooks/presto_hook.py
 ##########
 @@ -41,6 +61,11 @@ class PrestoHook(DbApiHook):
     conn_name_attr = 'presto_conn_id'
     default_conn_name = 'presto_default'
 
+    def __init__(self, *args, **kwargs):
+        super().__init__(*args, **kwargs)
+        self.poll_interval = kwargs.pop("poll_interval")
 
 Review comment:
   @mik-laj let me know what do you think so I'll continue with the approach which will be accepted. 

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services