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 2021/12/28 18:34:53 UTC
[GitHub] [airflow] josh-fell commented on a change in pull request #20526: Update connection object to cached_property in DatabricksHook
josh-fell commented on a change in pull request #20526:
URL: https://github.com/apache/airflow/pull/20526#discussion_r776029018
##########
File path: airflow/providers/databricks/hooks/databricks.py
##########
@@ -305,6 +311,11 @@ def _do_api_call(self, endpoint_info, json):
"""
method, endpoint = endpoint_info
+ if 'host' in self.databricks_conn.extra_dejson:
Review comment:
Ah you're right. Copy pasta. This doesn't need to be an instance attribute. `self.host` is only referenced in `_do_api_call()`.
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org