eladkal commented on code in PR #30975:
URL: https://github.com/apache/airflow/pull/30975#discussion_r1181397212


##########
airflow/providers/sqlite/operators/sqlite.py:
##########
@@ -49,6 +50,6 @@ def __init__(self, *, sqlite_conn_id: str = "sqlite_default", 
**kwargs) -> None:
         warnings.warn(
             """This class is deprecated.
             Please use 
`airflow.providers.common.sql.operators.sql.SQLExecuteQueryOperator`.""",
-            DeprecationWarning,
+            AirflowProviderDeprecationWarning,

Review Comment:
   that is reasonable.
   Can this be done in the provider `__init.py__` ?
   Something like:
   ```
       from airflow.version import version
       if Version(version) < Version("2.4"):
          raise ....
   ```



-- 
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]

Reply via email to