kazanzhy commented on a change in pull request #19639:
URL: https://github.com/apache/airflow/pull/19639#discussion_r751122784
##########
File path: airflow/sensors/sql.py
##########
@@ -70,27 +71,13 @@ def __init__(
def _get_hook(self):
conn = BaseHook.get_connection(self.conn_id)
-
- allowed_conn_type = {
- 'google_cloud_platform',
Review comment:
Is it necessary to change to:
```
if not isinstance(hook, DbApiHook) or conn.conn_type not in
{'google_cloud_platform'}
```
--
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]