ashb commented on issue #4728: [AIRFLOW-3910] Raise exception explicitly in 
Connection.get_hook()
URL: https://github.com/apache/airflow/pull/4728#issuecomment-475331042
 
 
   Yup:
   
   ```
       airflow/www/views.py line 2188 in query
         ((db.conn_id, db.conn_id) for db in dbs if db.get_hook()))
       airflow/www/views.py line 2188 in <genexpr>
         ((db.conn_id, db.conn_id) for db in dbs if db.get_hook()))
       airflow/models/connection.py line 230 in get_hook
         return AzureDataLakeHook(azure_data_lake_conn_id=self.conn_id)
       airflow/contrib/hooks/azure_data_lake_hook.py line 39 in __init__
         self.connection = self.get_conn()
       airflow/contrib/hooks/azure_data_lake_hook.py line 49 in get_conn
         client_id=conn.login)
       
.tox/py27-backend_sqlite-env_docker/lib/python2.7/site-packages/azure/datalake/store/lib.py
 line 110 in auth
         raise ValueError("tenant_id and client_id must be supplied for 
authentication")
      ValueError: tenant_id and client_id must be supplied for authentication
   ```
   
   Trying to think if this will cause any other problems on master code that we 
haven't though of  with  the sample connections.

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