This is an automated email from the ASF dual-hosted git repository.

potiuk 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 6fc0cc8  Update airflow/hooks/dbapi.py (#16629)
6fc0cc8 is described below

commit 6fc0cc8e9131c630eb25ac94b34fd7036f98898c
Author: Jarek Potiuk <[email protected]>
AuthorDate: Fri Jun 25 14:05:15 2021 +0200

    Update airflow/hooks/dbapi.py (#16629)
---
 airflow/hooks/dbapi.py | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/airflow/hooks/dbapi.py b/airflow/hooks/dbapi.py
index 8653d53..8786522 100644
--- a/airflow/hooks/dbapi.py
+++ b/airflow/hooks/dbapi.py
@@ -42,6 +42,14 @@ class ConnectorProtocol(Protocol):
         """
 
 
+#########################################################################################
+#                                                                              
         #
+#  Note! Be extra careful when changing this file. This hook is used as a base 
for      #
+#  a number of DBApi-related hooks and providers depend on the methods 
implemented      #
+#  here. Whatever you add here, has to backwards compatible unless             
         #
+#  `>=<Airflow version>` is added to providers' requirements using the new 
feature      #
+#                                                                              
         #
+#########################################################################################
 class DbApiHook(BaseHook):
     """Abstract base class for sql hooks."""
 

Reply via email to