mik-laj commented on a change in pull request #15398:
URL: https://github.com/apache/airflow/pull/15398#discussion_r614775012
##########
File path: airflow/hooks/base.py
##########
@@ -18,14 +18,12 @@
"""Base class for all hooks"""
import logging
import warnings
-from typing import TYPE_CHECKING, Any, Dict, List
+from typing import Any, Dict, List
+from airflow.models.connection import Connection
from airflow.typing_compat import Protocol
from airflow.utils.log.logging_mixin import LoggingMixin
-if TYPE_CHECKING:
Review comment:
Agree. See; https://github.com/apache/airflow/pull/15361
--
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]