This is an automated email from the ASF dual-hosted git repository.
xddeng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 29a74699eb Remove outdated comments from base hook (#28649)
29a74699eb is described below
commit 29a74699eb740f2df3bc6160fe3d747b175c76cd
Author: Pankaj Singh <[email protected]>
AuthorDate: Sat Dec 31 01:01:26 2022 +0530
Remove outdated comments from base hook (#28649)
---
airflow/hooks/base.py | 2 --
1 file changed, 2 deletions(-)
diff --git a/airflow/hooks/base.py b/airflow/hooks/base.py
index 85467e7312..9298a68688 100644
--- a/airflow/hooks/base.py
+++ b/airflow/hooks/base.py
@@ -81,8 +81,6 @@ class BaseHook(LoggingMixin):
:param conn_id: connection id
:return: default hook for this connection
"""
- # TODO: set method return type to BaseHook class when on 3.7+.
- # See https://stackoverflow.com/a/33533514/3066428
connection = cls.get_connection(conn_id)
return connection.get_hook()