You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ep...@apache.org on 2023/01/11 21:26:08 UTC
[airflow] 27/27: Remove outdated comments from base hook (#28649)
This is an automated email from the ASF dual-hosted git repository.
ephraimanierobi pushed a commit to branch v2-5-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
commit a1cf3b08c9a5d27fc9dab6bb51866fef7c7ffabb
Author: Pankaj Singh <98...@users.noreply.github.com>
AuthorDate: Sat Dec 31 01:01:26 2022 +0530
Remove outdated comments from base hook (#28649)
(cherry picked from commit 29a74699eb740f2df3bc6160fe3d747b175c76cd)
---
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()